Enum Class LifecyclePhase

java.lang.Object
java.lang.Enum<LifecyclePhase>
org.ivoa.dm.executionbroker.LifecyclePhase
All Implemented Interfaces:
Serializable, Comparable<LifecyclePhase>, Constable

@VoDml(id="execbroker:LifecyclePhase", role=enumeration) public enum LifecyclePhase extends Enum<LifecyclePhase>
Lifecycle phase values. Enumeration LifecyclePhase :
  • Enum Constant Details

    • INITIALIZING

      public static final LifecyclePhase INITIALIZING
      Value INITIALIZING : .
    • WAITING

      public static final LifecyclePhase WAITING
      Value WAITING : .
    • PREPARING

      public static final LifecyclePhase PREPARING
      Value PREPARING : .
    • AVAILABLE

      public static final LifecyclePhase AVAILABLE
      Value AVAILABLE : .
    • RUNNING

      public static final LifecyclePhase RUNNING
      Value RUNNING : .
    • RELEASING

      public static final LifecyclePhase RELEASING
      Value RELEASING : .
    • COMPLETED

      public static final LifecyclePhase COMPLETED
      Value COMPLETED : .
    • FAILED

      public static final LifecyclePhase FAILED
      Value FAILED : .
    • CANCELLED

      public static final LifecyclePhase CANCELLED
      Value CANCELLED : .
  • Method Details

    • values

      public static LifecyclePhase[] 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 LifecyclePhase 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
    • value

      public final String value()
      Return the string representation of this enum constant (value)
      Returns:
      string representation of this enum constant (value)
    • toString

      public final String toString()
      Return the string representation of this enum constant (value)
      Overrides:
      toString in class Enum<LifecyclePhase>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

      public static final LifecyclePhase fromValue(String v)
      Return the LifecyclePhase enum constant corresponding to the given string representation (value)
      Parameters:
      v - string representation (value)
      Returns:
      LifecyclePhase enum constant
      Throws:
      IllegalArgumentException - if there is no matching enum constant