Enum Class Lifecycle

java.lang.Object
java.lang.Enum<Lifecycle>
org.graylog2.plugin.lifecycles.Lifecycle
All Implemented Interfaces:
Serializable, Comparable<Lifecycle>, Constable

public enum Lifecycle extends Enum<Lifecycle>
  • Enum Constant Details

    • UNINITIALIZED

      public static final Lifecycle UNINITIALIZED
    • STARTING

      public static final Lifecycle STARTING
    • RUNNING

      public static final Lifecycle RUNNING
    • PAUSED

      public static final Lifecycle PAUSED
    • HALTING

      public static final Lifecycle HALTING
    • FAILED

      public static final Lifecycle FAILED
    • THROTTLED

      public static final Lifecycle THROTTLED
    • OVERRIDE_LB_DEAD

      public static final Lifecycle OVERRIDE_LB_DEAD
    • OVERRIDE_LB_ALIVE

      public static final Lifecycle OVERRIDE_LB_ALIVE
    • OVERRIDE_LB_THROTTLED

      public static final Lifecycle OVERRIDE_LB_THROTTLED
  • Method Details

    • values

      public static Lifecycle[] 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 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
    • getLoadbalancerStatus

      public LoadBalancerStatus getLoadbalancerStatus()
    • getDescription

      public String getDescription()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Lifecycle>