Package akka.javasdk.agent.task
Interface TaskNotification
- All Known Implementing Classes:
TaskNotification.Cancelled,TaskNotification.Completed,TaskNotification.Failed,TaskNotification.ResultRejected
public sealed interface TaskNotification
permits TaskNotification.Completed, TaskNotification.ResultRejected, TaskNotification.Failed, TaskNotification.Cancelled
Notifications published by task entities.
TaskNotification.ResultRejected is not terminal, because the
agent retries after a rule rejects its result. The other notifications mark a terminal state.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Method Summary