Enum Class ServiceState

java.lang.Object
java.lang.Enum<ServiceState>
org.opencastproject.serviceregistry.api.ServiceState
All Implemented Interfaces:
Serializable, Comparable<ServiceState>, Constable

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

    • NORMAL

      public static final ServiceState NORMAL
      Service running normally
    • WARNING

      public static final ServiceState WARNING
      Service encountered a problem (job failure, ..)
    • ERROR

      public static final ServiceState ERROR
      Service running no more correctly
  • 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