Enum Class LifeCycle.Status

java.lang.Object
java.lang.Enum<LifeCycle.Status>
org.jclouds.lifecycle.LifeCycle.Status
All Implemented Interfaces:
Serializable, Comparable<LifeCycle.Status>, java.lang.constant.Constable
Enclosing interface:
LifeCycle

public static enum LifeCycle.Status extends Enum<LifeCycle.Status>
States that are possible for a component.
  • Enum Constant Details

    • INACTIVE

      public static final LifeCycle.Status INACTIVE
      The component is inactive / has not been started
    • ACTIVE

      public static final LifeCycle.Status ACTIVE
      The component is active / processing I/O events.
    • SHUTDOWN_REQUEST

      public static final LifeCycle.Status SHUTDOWN_REQUEST
      Shutdown of the component has been requested.
    • SHUTTING_DOWN

      public static final LifeCycle.Status SHUTTING_DOWN
      The component is shutting down.
    • SHUT_DOWN

      public static final LifeCycle.Status SHUT_DOWN
      The component has shut down.
  • Method Details

    • values

      public static LifeCycle.Status[] 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 LifeCycle.Status 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