Record Class Dependency
java.lang.Object
java.lang.Record
network.ike.workspace.Dependency
- Record Components:
subproject- the name of the depended-on subprojectrelationship- the nature of the dependency ("build", "content", or "tool-time")versionProperty- optional POM property name that tracks the upstream subproject's version (e.g., "ike-maven-plugin.version"). Used byike:ws-releaseto update version references after releasing an upstream subproject. Null if no property tracking is needed.
-
Constructor Summary
ConstructorsConstructorDescriptionDependency(String subproject, String relationship) Two-arg constructor for backwards compatibility (no version-property).Dependency(String subproject, String relationship, String versionProperty) Creates an instance of aDependencyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therelationshiprecord component.Returns the value of thesubprojectrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theversionPropertyrecord component.
-
Constructor Details
-
Dependency
-
Dependency
Creates an instance of aDependencyrecord class.- Parameters:
subproject- the value for thesubprojectrecord componentrelationship- the value for therelationshiprecord componentversionProperty- the value for theversionPropertyrecord component
-
-
Method Details
-
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). -
subproject
Returns the value of thesubprojectrecord component.- Returns:
- the value of the
subprojectrecord component
-
relationship
Returns the value of therelationshiprecord component.- Returns:
- the value of the
relationshiprecord component
-
versionProperty
Returns the value of theversionPropertyrecord component.- Returns:
- the value of the
versionPropertyrecord component
-