Enum Class NuggetState

java.lang.Object
java.lang.Enum<NuggetState>
org.j7m.middleware.operations.api.NuggetState
All Implemented Interfaces:
Serializable, Comparable<NuggetState>, Constable

public enum NuggetState extends Enum<NuggetState>
Public lifecycle state of the nugget process subject.
  • Enum Constant Details

    • STARTING

      public static final NuggetState STARTING
      Nugget administration is starting.
    • RUNNING

      public static final NuggetState RUNNING
      Nugget administration is running.
    • DEGRADED

      public static final NuggetState DEGRADED
      Nugget remains reachable but one or more administration components are degraded.
    • DRAINING

      public static final NuggetState DRAINING
      Nugget is draining administration work.
    • STOPPING

      public static final NuggetState STOPPING
      Nugget is stopping.
    • STOPPED

      public static final NuggetState STOPPED
      Nugget administration has stopped.
    • UNKNOWN

      public static final NuggetState UNKNOWN
      Nugget state is not known to the caller.
  • Method Details

    • values

      public static NuggetState[] 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 NuggetState 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