Enum EWorkflowEventLoopTiming

  • All Implemented Interfaces:
    Serializable, Comparable<EWorkflowEventLoopTiming>

    public enum EWorkflowEventLoopTiming
    extends Enum<EWorkflowEventLoopTiming>
    A single workflow event may trigger multiple tasks, which are executed in order. The workflow engine keeps a queue with all tasks that still need to be executed. It is possible to add new tasks to the queue during an ongoing execution. This enumeration defines the position where new tasks are added to the queue.
    Since:
    8.0.0
    • Enum Constant Detail

      • AFTER_CURRENT_TASK

        public static final EWorkflowEventLoopTiming AFTER_CURRENT_TASK
        Add the new task immediately after the current task, so that it is executed next.
      • END_OF_QUEUE

        public static final EWorkflowEventLoopTiming END_OF_QUEUE
        Add the new task to the end of the queue, so that it is executed after all other pending tasks.
    • Method Detail

      • values

        public static EWorkflowEventLoopTiming[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EWorkflowEventLoopTiming c : EWorkflowEventLoopTiming.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EWorkflowEventLoopTiming valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null