Class UserTask.CompletionStrategy

  • Enclosing class:
    UserTask

    public static final class UserTask.CompletionStrategy
    extends Object
    Defines the different strategies for work items completion.
    • Field Detail

      • ALL_WORK_ITEMS_ACCEPTED

        public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED
        Terminates the current task when all work items have been accepted.
      • ANY_WORK_ITEM_ACCEPTED

        public static final UserTask.CompletionStrategy ANY_WORK_ITEM_ACCEPTED
        Terminates current task as soon as one work item has been accepted.
      • ALL_WORK_ITEMS_ACCEPTED_BUT_ONE

        public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED_BUT_ONE
        Terminates current task when all work items except one have been accepted.
      • AT_LEAST_HALF_WORK_ITEMS_ACCEPTED

        public static final UserTask.CompletionStrategy AT_LEAST_HALF_WORK_ITEMS_ACCEPTED
        Terminates current task as soon as half of the work items have been accepted.
      • ALL_WORK_ITEMS_COMPLETED

        public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_COMPLETED
        Terminates current task when all work items have been either accepted or rejected.
      • ALL_WORK_ITEMS_ACCEPTED_OR_ANY_REJECTED

        public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED_OR_ANY_REJECTED
        Terminates current task either when all work items have been accepted, or as soon as one work item has been rejected.