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

      Map<String,Object> 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

      List<Policy> policies()
      Optional list of policies to be enforced during transition
      Returns:
      list of policies or an empty list, should never be null
    • termination