Record Class VersionCatalogue.PackageVersion
java.lang.Object
java.lang.Record
io.github.joke.conventionalversion.VersionCatalogue.PackageVersion
- Record Components:
declared- the package as release-please declares it, carried so a project can be matchedresult- the version, bump and releasability of that package
- All Implemented Interfaces:
Serializable
- Enclosing class:
VersionCatalogue
public static record VersionCatalogue.PackageVersion(ReleasePackage declared, VersionResult result)
extends Record
implements Serializable
One package and what it resolved to.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPackageVersion(ReleasePackage declared, VersionResult result) Creates an instance of aPackageVersionrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeclared()Returns the value of thedeclaredrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
declared
-
result
-