Record Class PersistenceWorkflowInfo
java.lang.Object
java.lang.Record
io.serverlessworkflow.impl.persistence.PersistenceWorkflowInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceWorkflowInfo(String id, Instant startedAt, io.serverlessworkflow.impl.WorkflowModel input, io.serverlessworkflow.impl.WorkflowStatus status, Map<String, PersistenceTaskInfo> tasks) Creates an instance of aPersistenceWorkflowInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.io.serverlessworkflow.impl.WorkflowModelinput()Returns the value of theinputrecord component.Returns the value of thestartedAtrecord component.io.serverlessworkflow.impl.WorkflowStatusstatus()Returns the value of thestatusrecord component.tasks()Returns the value of thetasksrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PersistenceWorkflowInfo
public PersistenceWorkflowInfo(String id, Instant startedAt, io.serverlessworkflow.impl.WorkflowModel input, io.serverlessworkflow.impl.WorkflowStatus status, Map<String, PersistenceTaskInfo> tasks) Creates an instance of aPersistenceWorkflowInforecord class.- Parameters:
id- the value for theidrecord componentstartedAt- the value for thestartedAtrecord componentinput- the value for theinputrecord componentstatus- the value for thestatusrecord componenttasks- the value for thetasksrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
input
public io.serverlessworkflow.impl.WorkflowModel input()Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
status
public io.serverlessworkflow.impl.WorkflowStatus status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
tasks
Returns the value of thetasksrecord component.- Returns:
- the value of the
tasksrecord component
-