Package akka.javasdk.agent.task
package akka.javasdk.agent.task
-
ClassDescriptionTask<R>A typed task definition — describes a kind of work and the expected result type.A serializable reference to content attached to a task.A task definition declares what kind of work an agent can do — a description of the task and the expected result type.Base exception for task terminal states.Thrown when a task reaches the
TaskStatus.CANCELLEDstate.Thrown when a task reaches theTaskStatus.FAILEDstate.Thrown when a task result is rejected by a validation rule.Thrown when a task result is retrieved with a mismatched task definition.A reference to a task, holding its ID and name.Notifications published by task entities when they reach a terminal state.TaskRule<R>A rule that validates the result of a task before accepting its completion.TaskSnapshot<R>A point-in-time snapshot of a task's state, with a typed result.State of a task entity.The lifecycle status of aTask.TaskTemplate<R>A task definition with a parameterized instruction template.