Enum Class LifecycleStatus.Status

java.lang.Object
java.lang.Enum<LifecycleStatus.Status>
org.eclipse.hono.util.LifecycleStatus.Status
All Implemented Interfaces:
Serializable, Comparable<LifecycleStatus.Status>, Constable
Enclosing class:
LifecycleStatus

public static enum LifecycleStatus.Status extends Enum<LifecycleStatus.Status>
The state in a component's life cycle.
  • Enum Constant Details

    • STOPPED

      public static final LifecycleStatus.Status STOPPED
      The state representing a component that has not been started yet or that has been stopped again.
    • STARTING

      public static final LifecycleStatus.Status STARTING
      The state representing the process of starting up a component.
    • STARTED

      public static final LifecycleStatus.Status STARTED
      The state representing a component that has been started.
    • STOPPING

      public static final LifecycleStatus.Status STOPPING
      The state representing the process of shutting down a component.
  • Method Details

    • values

      public static LifecycleStatus.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 LifecycleStatus.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