Interface WorkItemTransition
- Type Parameters:
T- type of data the transition is carrying
public interface WorkItemTransition
Defines work item life cycle phase transition.
Including data and policies to be enforced during transition.
-
Method Details
-
id
String id()Returns id phase where work item should be transitioned- Returns:
- target life cycle phase
-
data
Optional data to be associated with the transition. This usually means appending given data into the work item.- Returns:
- data if given otherwise null
-
policies
Optional list of policies to be enforced during transition- Returns:
- list of policies or an empty list, should never be null
-
termination
Optional<WorkItemTerminationType> termination()
-