Package akka.javasdk.ledger
Record Class EvaluationRecord.Subject.Interaction
- Record Components:
interactionId- the id of the interactionagentComponentId- the component id of the agent that produced the interaction
- All Implemented Interfaces:
EvaluationRecord.Subject
- Enclosing interface:
EvaluationRecord.Subject
public static record EvaluationRecord.Subject.Interaction(String interactionId, String agentComponentId)
extends Record
implements EvaluationRecord.Subject
One agent interaction.
-
Nested Class Summary
Nested classes/interfaces inherited from interface akka.javasdk.ledger.EvaluationRecord.Subject
EvaluationRecord.Subject.Interaction, EvaluationRecord.Subject.Workflow -
Constructor Summary
ConstructorsConstructorDescriptionInteraction(String interactionId, String agentComponentId) 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.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 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). -
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
-