Package su.onno.process
Interface HumanTask<P,O extends Enum<O>>
- Type Parameters:
P- process payload typeO- closed set of outcomes that can complete this task
public interface HumanTask<P,O extends Enum<O>>
A typed unit of human work in a business process.
-
Method Summary
Modifier and TypeMethodDescriptionassignment(P payload) Candidate users/roles allowed to see and claim this task.Enum class used to validate that the process route handles every possible outcome.default Ref<?> Typed business object this task concerns; rendered as a direct link when present.default StringsubjectLabel(P payload) Human-readable snapshot forsubject(Object), such as an order number.default StringHuman-facing task title.
-
Method Details
-
outcomeType
Enum class used to validate that the process route handles every possible outcome. -
title
Human-facing task title. -
assignment
Candidate users/roles allowed to see and claim this task. -
subject
Typed business object this task concerns; rendered as a direct link when present. -
subjectLabel
Human-readable snapshot forsubject(Object), such as an order number.The value is persisted with the task so its link remains understandable even when the referenced record later changes.
-