Package akka.javasdk.agent.autonomous
Record Class Notification.ConversationCreated
- All Implemented Interfaces:
Notification,Notification.ConversationNotification
- Enclosing interface:
Notification
public static record Notification.ConversationCreated(String conversationId, String pattern, String topic, List<String> participantComponentIds, List<String> participantInstanceIds)
extends Record
implements Notification.ConversationNotification
Conversation moderator: a new conversation was created with the given participants.
-
Nested Class Summary
Nested classes/interfaces inherited from interface akka.javasdk.agent.autonomous.Notification
Notification.Activated, Notification.BacklogAccessGranted, Notification.BacklogAssigned, Notification.BacklogClosed, Notification.BacklogNotification, Notification.BacklogTaskClaimed, Notification.ContactAdded, Notification.ConversationCreated, Notification.ConversationEnded, Notification.ConversationJoined, Notification.ConversationNotification, Notification.ConversationParticipantReady, Notification.ConversationParticipantSetupFailed, Notification.ConversationTurnReceived, Notification.Deactivated, Notification.DelegationNotification, Notification.DelegationResolved, Notification.DelegationStarted, Notification.DependencyResolved, Notification.HandoffNotification, Notification.HandoffReceived, Notification.HandoffStarted, Notification.IterationCompleted, Notification.IterationFailed, Notification.IterationStarted, Notification.LifecycleNotification, Notification.MessageReceived, Notification.MessagingNotification, Notification.ParticipantTurnSubmitted, Notification.RepeatedIterationFailure, Notification.Resumed, Notification.Stopped, Notification.StruggleNotification, Notification.Suspended, Notification.TaskApproachingMaxIterations, Notification.TaskAssigned, Notification.TaskCancelled, Notification.TaskCompleted, Notification.TaskDependencyStuck, Notification.TaskDependencyWait, Notification.TaskFailed, Notification.TaskNotification, Notification.TaskResultRejected, Notification.TaskStarted, Notification.TaskStruggleDetected, Notification.TeamCreated, Notification.TeamDisbanded, Notification.TeamJoined, Notification.TeamMemberReady, Notification.TeamMemberSetupFailed, Notification.TeamMemberStopped, Notification.TeamNotification, Notification.WorkerTaskCompleted, Notification.WorkerTaskReceived -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconversationIdrecord 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 theparticipantComponentIdsrecord component.Returns the value of theparticipantInstanceIdsrecord component.pattern()Returns the value of thepatternrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConversationCreated
public ConversationCreated(String conversationId, String pattern, String topic, List<String> participantComponentIds, List<String> participantInstanceIds) Creates an instance of aConversationCreatedrecord class.- Parameters:
conversationId- the value for theconversationIdrecord componentpattern- the value for thepatternrecord componenttopic- the value for thetopicrecord componentparticipantComponentIds- the value for theparticipantComponentIdsrecord componentparticipantInstanceIds- the value for theparticipantInstanceIdsrecord 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). -
conversationId
Returns the value of theconversationIdrecord component.- Returns:
- the value of the
conversationIdrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-
participantComponentIds
Returns the value of theparticipantComponentIdsrecord component.- Returns:
- the value of the
participantComponentIdsrecord component
-
participantInstanceIds
Returns the value of theparticipantInstanceIdsrecord component.- Returns:
- the value of the
participantInstanceIdsrecord component
-