Enum Class ExecutionState

java.lang.Object
java.lang.Enum<ExecutionState>
mc.core.model.system.ExecutionState
All Implemented Interfaces:
Serializable, Comparable<ExecutionState>, Constable

public enum ExecutionState extends Enum<ExecutionState>
not an entity. enum for tracking states of 'executable objects' like workflows or actions. Remodeled for mc4 on 19.12.2005
  • Enum Constant Details

  • Method Details

    • values

      public static ExecutionState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExecutionState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isEnded

      public boolean isEnded()
    • isRunning

      public boolean isRunning()
    • isError

      public boolean isError()
    • isQueued

      public boolean isQueued()
    • isPaused

      public boolean isPaused()
    • runningStates

      public static ExecutionState[] runningStates()
    • queuedStates

      public static ExecutionState[] queuedStates()
    • abortedStates

      public static ExecutionState[] abortedStates()
    • completedStates

      public static ExecutionState[] completedStates()
    • nextState

      public ExecutionState nextState(ExecutionState newState)