Package akka.javasdk.ledger
Interface ActivityRecord.Event
- All Known Implementing Classes:
ActivityRecord.Event.DelegationResolved,ActivityRecord.Event.DelegationStarted,ActivityRecord.Event.HandoffReceived,ActivityRecord.Event.HandoffStarted,ActivityRecord.Event.IterationFailed,ActivityRecord.Event.Other,ActivityRecord.Event.TaskAssigned,ActivityRecord.Event.TaskCancelled,ActivityRecord.Event.TaskCompleted,ActivityRecord.Event.TaskFailed,ActivityRecord.Event.TaskResultRejected,ActivityRecord.Event.TaskStarted
- Enclosing class:
ActivityRecord
public static sealed interface ActivityRecord.Event
permits ActivityRecord.Event.TaskAssigned, ActivityRecord.Event.TaskStarted, ActivityRecord.Event.TaskCompleted, ActivityRecord.Event.TaskFailed, ActivityRecord.Event.TaskCancelled, ActivityRecord.Event.TaskResultRejected, ActivityRecord.Event.IterationFailed, ActivityRecord.Event.DelegationStarted, ActivityRecord.Event.DelegationResolved, ActivityRecord.Event.HandoffStarted, ActivityRecord.Event.HandoffReceived, ActivityRecord.Event.Other
One activity event. An event of a kind that has no record of its own reads as
ActivityRecord.Event.Other. A
later SDK version can add records for more kinds.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe delegations of the agent resolved.static final recordThe agent started delegations to workers.static final recordThe agent received a task that another agent handed off.static final recordThe agent handed off a task to another agent.static final recordAn iteration failed.static final recordAn event of a kind that has no record of its own.static final recordA task was assigned to the agent.static final recordA task was cancelled before its execution began.static final recordThe agent completed a task.static final recordA task ended during its execution without a result.static final recordA validation rule rejected a result of a task.static final recordThe agent started to work on a task. -
Method Summary
-
Method Details
-
kind
String kind()The name of the event in the stored record, such astask_completed.
-