Record Class Defaults
java.lang.Object
java.lang.Record
network.ike.workspace.Defaults
- Record Components:
branch- the default git branch (typically "main")mavenVersion- the default Maven version for the Maven wrapper (e.g., "4.0.0-rc-5"). Null means no wrapper is installed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themavenVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Defaults
Creates an instance of aDefaultsrecord class.- Parameters:
branch- the value for thebranchrecord componentmavenVersion- the value for themavenVersionrecord 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). -
branch
-
mavenVersion
Returns the value of themavenVersionrecord component.- Returns:
- the value of the
mavenVersionrecord component
-