Enum Class ExecutionState

java.lang.Object
java.lang.Enum<ExecutionState>
org.tasktide.engine.trackers.ExecutionState
All Implemented Interfaces:
Serializable, Comparable<ExecutionState>, Constable

@Deprecated public enum ExecutionState extends Enum<ExecutionState>
Deprecated.
Enum to support worker execution states
  • Enum Constant Details

  • Method Details

    • values

      public static ExecutionState[] values()
      Deprecated.
      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)
      Deprecated.
      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
    • isState

      public abstract boolean isState(String query)
      Deprecated.
      Compare to queried state string
      Parameters:
      query -
      Returns:
      boolean
    • isState

      public abstract boolean isState(ExecutionState query)
      Deprecated.
      Compare to queried to state
      Parameters:
      query -
      Returns:
      boolean
    • toString

      public abstract String toString()
      Deprecated.
      Represent value as a string
      Overrides:
      toString in class Enum<ExecutionState>
      Returns:
      String
    • indexOf

      public static int indexOf(String query)
      Deprecated.
      Return index of queried state
      Parameters:
      query -
      Returns:
      int
    • hasType

      public static boolean hasType(String query)
      Deprecated.
      Check if queried type exists
      Parameters:
      query -
      Returns:
      boolean