Record Class CommitAttempt.Step
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.CommitAttempt.Step
- Enclosing class:
CommitAttempt
public static record CommitAttempt.Step(DeserializingMessage message, List<Change> changes)
extends Record
One ordered mutation journal entry.
-
Constructor Summary
ConstructorsConstructorDescriptionStep(DeserializingMessage message, List<Change> changes) Creates an instance of aSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the value of thechangesrecord component.booleanfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Step
Creates an instance of aSteprecord class.- Parameters:
message- the value for themessagerecord componentchanges- the value for thechangesrecord component
-
-
Method Details
-
directMutation
public boolean directMutation() -
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). -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
changes
-