Enum TaskDtoExecutionState

  • All Implemented Interfaces:
    Serializable, Comparable<TaskDtoExecutionState>

    public enum TaskDtoExecutionState
    extends Enum<TaskDtoExecutionState>
    TODO TODO TODO update this doc Original description: Adds "RUNNING" state to the TaskExecutionState (meaning the task is currently executing at a node). And also "SUSPENDING" if it is running, but marked as suspended. New meaning: Probably not needed any more. The RUNNING_OR_RUNNABLE is needed to query for the task state, and should not be here.
    • Method Detail

      • values

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

        public static TaskDtoExecutionState 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