Enum TaskExecutionStatusType

  • All Implemented Interfaces:
    Serializable, Comparable<TaskExecutionStatusType>

    public enum TaskExecutionStatusType
    extends Enum<TaskExecutionStatusType>

    Java class for TaskExecutionStatusType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="TaskExecutionStatusType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="runnable"/>
         <enumeration value="waiting"/>
         <enumeration value="suspended"/>
         <enumeration value="closed"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • RUNNABLE

        public static final TaskExecutionStatusType RUNNABLE
        The task is running or is ready to be executed. This state implies that the task is being actively executed by IDM nodes, e.g. there is a thread on one of the IDM nodes that executes the task, or the system needs to allocate such thread, or the task is prepared to be started when a defined time arrives.
      • WAITING

        public static final TaskExecutionStatusType WAITING
        The IDM system is waiting while the task is being executed on an external node (e.g. external workflow engine) or is waiting for some kind of external signal (e.g. approval in internal workflow). The task may be running on external node or be blocked on IDM node. One way or another, there is no point in allocating a thread to run this task. Other task properties provide more information about the actual "business" state of the task.
      • SUSPENDED

        public static final TaskExecutionStatusType SUSPENDED
        The task has been suspended. It waits until an instruction to resume it arrives. After that, it will (usually) go to the RUNNABLE state again. Or, it can be closed in the suspended state as well.
      • CLOSED

        public static final TaskExecutionStatusType CLOSED
        The task is done. No other changes or progress will happen. The task in this state is considered immutable and the only things that can happen to it is a delete by a cleanup code.
    • Method Detail

      • values

        public static TaskExecutionStatusType[] 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 (TaskExecutionStatusType c : TaskExecutionStatusType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaskExecutionStatusType 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
      • value

        public String value()