Package akka.javasdk.agent.task
Interface TaskDefinition<R>
- Type Parameters:
R- The result type produced when the task completes.
- All Known Implementing Classes:
Task,TaskTemplate
A task definition declares what kind of work an agent can do — a description of the task and the
expected result type.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe description of this task — what kind of work it represents.name()The name of this task definition — a stable identifier for the task type.The expected result type.The validation rule classes for this task definition.
-
Method Details