Record Class ReleaseSupport.AliasIndirectionGap
java.lang.Object
java.lang.Record
network.ike.plugin.ReleaseSupport.AliasIndirectionGap
- Record Components:
kind- what is wrongpomPath- the source POM, relative to the git rootartifactId- the module's artifactIdshortName- the alias short name concerned;nullwhen the consumer POM itself is missingexpected- the canonical reference the short name must carry;nullwhen the consumer POM is missingactual- the value found, ornull
- Enclosing class:
ReleaseSupport
public static record ReleaseSupport.AliasIndirectionGap(ReleaseSupport.AliasIndirectionGapKind kind, String pomPath, String artifactId, String shortName, String expected, String actual)
extends Record
One shortfall between a source POM's
__ALIAS declarations
and the consumer POM Maven produced for it.-
Constructor Summary
ConstructorsConstructorDescriptionAliasIndirectionGap(ReleaseSupport.AliasIndirectionGapKind kind, String pomPath, String artifactId, String shortName, String expected, String actual) Creates an instance of aAliasIndirectionGaprecord class. -
Method Summary
Modifier and TypeMethodDescriptionactual()Returns the value of theactualrecord component.Returns the value of theartifactIdrecord component.describe()One line naming this gap, for a release refusal message.final booleanIndicates whether some other object is "equal to" this one.expected()Returns the value of theexpectedrecord component.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.pomPath()Returns the value of thepomPathrecord component.Returns the value of theshortNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AliasIndirectionGap
public AliasIndirectionGap(ReleaseSupport.AliasIndirectionGapKind kind, String pomPath, String artifactId, String shortName, String expected, String actual) Creates an instance of aAliasIndirectionGaprecord class.- Parameters:
kind- the value for thekindrecord componentpomPath- the value for thepomPathrecord componentartifactId- the value for theartifactIdrecord componentshortName- the value for theshortNamerecord componentexpected- the value for theexpectedrecord componentactual- the value for theactualrecord component
-
-
Method Details
-
describe
One line naming this gap, for a release refusal message.- Returns:
- the description
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
kind
-
pomPath
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
shortName
-
expected
-
actual
-