Package com.egoge.ai.atlas.plugin
Record Class ReleaseSnapshots.Outcome
java.lang.Object
java.lang.Record
com.egoge.ai.atlas.plugin.ReleaseSnapshots.Outcome
- Record Components:
directory- the release's directoryversion- the versionapiMajor- the contract'sapiMajorchangelog- the release's changelog section
- Enclosing class:
- ReleaseSnapshots
public static record ReleaseSnapshots.Outcome(Path directory, com.egoge.ai.atlas.processor.release.ReleaseVersion version, int apiMajor, String changelog)
extends Record
A release made.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintapiMajor()Returns the value of theapiMajorrecord component.Returns the value of thechangelogrecord component.Returns the value of thedirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.com.egoge.ai.atlas.processor.release.ReleaseVersionversion()Returns the value of theversionrecord component.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
directory
Returns the value of thedirectoryrecord component.- Returns:
- the value of the
directoryrecord component
-
version
public com.egoge.ai.atlas.processor.release.ReleaseVersion version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
apiMajor
public int apiMajor()Returns the value of theapiMajorrecord component.- Returns:
- the value of the
apiMajorrecord component
-
changelog
Returns the value of thechangelogrecord component.- Returns:
- the value of the
changelogrecord component
-