Record Class MMavenMetadata.SnapshotVersion
java.lang.Object
java.lang.Record
com.io7m.montarre.xml.MMavenMetadata.SnapshotVersion
- Record Components:
baseVersion- The base versiontimestamp- The timestampbuildNumber- The build number
- Enclosing class:
MMavenMetadata
public static record MMavenMetadata.SnapshotVersion(String baseVersion, String timestamp, String buildNumber)
extends Record
Information about a snapshot version.
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotVersion(String baseVersion, String timestamp, String buildNumber) Information about a snapshot version. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseVersionrecord component.Returns the value of thebuildNumberrecord 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 thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SnapshotVersion
-
-
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). -
baseVersion
Returns the value of thebaseVersionrecord component.- Returns:
- the value of the
baseVersionrecord component
-
timestamp
-
buildNumber
Returns the value of thebuildNumberrecord component.- Returns:
- the value of the
buildNumberrecord component
-