Enum Class ServiceState

java.lang.Object
java.lang.Enum<ServiceState>
altitude.integrationServer.types.ServiceState
All Implemented Interfaces:
Serializable, Comparable<ServiceState>, Constable

public enum ServiceState extends Enum<ServiceState>
Represents the states of the service.
  • Enum Constant Details

    • NoValue

      public static final ServiceState NoValue
      No value is assigned.
    • Closed

      public static final ServiceState Closed
      The service is offline.
    • Open

      public static final ServiceState Open
      The service is online.
    • Mixed

      public static final ServiceState Mixed
      The service is not fully online.
    • Suspended

      public static final ServiceState Suspended
      The service is suspended.
    • StartingUp

      public static final ServiceState StartingUp
      The service is starting up.
    • InMaintenance

      public static final ServiceState InMaintenance
      The service is in maintenance.
  • Method Details

    • values

      public static ServiceState[] 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 ServiceState 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 int value()
    • fromValue

      public static ServiceState fromValue(int v)