Package akka.javasdk.impl.evaluation
Record Class DurableEvaluatorProtocol.SubjectData.Interaction
- All Implemented Interfaces:
DurableEvaluatorProtocol.SubjectData
- Enclosing interface:
DurableEvaluatorProtocol.SubjectData
public static record DurableEvaluatorProtocol.SubjectData.Interaction(String interactionId, String agentComponentId, String flowId)
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
ConstructorsConstructorDescriptionInteraction(String interactionId, String agentComponentId, String flowId) Creates an instance of aInteractionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentComponentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.flowId()Returns the value of theflowIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinteractionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Interaction
Creates an instance of aInteractionrecord class.- Parameters:
interactionId- the value for theinteractionIdrecord componentagentComponentId- the value for theagentComponentIdrecord componentflowId- the value for theflowIdrecord 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). -
interactionId
Returns the value of theinteractionIdrecord component.- Returns:
- the value of the
interactionIdrecord component
-
agentComponentId
Returns the value of theagentComponentIdrecord component.- Returns:
- the value of the
agentComponentIdrecord component
-
flowId
Returns the value of theflowIdrecord component.- Returns:
- the value of the
flowIdrecord component
-