Enum TaskExecutionStatusType

  • All Implemented Interfaces:
    Serializable, Comparable<TaskExecutionStatusType>

    public enum TaskExecutionStatusType
    extends Enum<TaskExecutionStatusType>
    <p>Java class for TaskExecutionStatusType. <p>The following schema fragment specifies the expected content contained within this class. <p> <pre> &lt;simpleType name="TaskExecutionStatusType"&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration value="runnable"/&gt; &lt;enumeration value="waiting"/&gt; &lt;enumeration value="suspended"/&gt; &lt;enumeration value="closed"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; </pre>
    • 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.

        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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()