Package akka.javasdk.impl.evaluation
Record Class DurableEvaluatorProtocol.SubjectData.Workflow
- All Implemented Interfaces:
DurableEvaluatorProtocol.SubjectData
- Enclosing interface:
DurableEvaluatorProtocol.SubjectData
public static record DurableEvaluatorProtocol.SubjectData.Workflow(String workflowId, String workflowComponentId)
extends Record
implements DurableEvaluatorProtocol.SubjectData
-
Nested Class Summary
Nested classes/interfaces inherited from interface akka.javasdk.impl.evaluation.DurableEvaluatorProtocol.SubjectData
DurableEvaluatorProtocol.SubjectData.Interaction, DurableEvaluatorProtocol.SubjectData.Workflow -
Constructor Summary
Constructors -
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.final StringtoString()Returns a string representation of this record class.Returns the value of theworkflowComponentIdrecord component.Returns the value of theworkflowIdrecord component.
-
Constructor Details
-
Workflow
Creates an instance of aWorkflowrecord class.- Parameters:
workflowId- the value for theworkflowIdrecord componentworkflowComponentId- the value for theworkflowComponentIdrecord component
-
-
Method Details
-
toSubject
- Specified by:
toSubjectin interfaceDurableEvaluatorProtocol.SubjectData
-
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). -
workflowId
Returns the value of theworkflowIdrecord component.- Returns:
- the value of the
workflowIdrecord component
-
workflowComponentId
Returns the value of theworkflowComponentIdrecord component.- Returns:
- the value of the
workflowComponentIdrecord component
-