Record Class DeploymentPlan
java.lang.Object
java.lang.Record
org.j7m.middleware.cluster.DeploymentPlan
- Record Components:
planId- stable plan identityexpectedVersion- fleet generation inspected during planningreleaseId- trusted catalog releasenodeIds- ordered hosting targetsfingerprint- immutable plan SHA-256
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpectedVersionrecord component.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.nodeIds()Returns the value of thenodeIdsrecord component.planId()Returns the value of theplanIdrecord component.Returns the value of thereleaseIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeploymentPlan
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
planId
-
expectedVersion
public long expectedVersion()Returns the value of theexpectedVersionrecord component.- Returns:
- the value of the
expectedVersionrecord component
-
releaseId
-
nodeIds
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-