Enum HealthCheckState

java.lang.Object
java.lang.Enum<HealthCheckState>
com.unboundid.ldap.sdk.unboundidds.monitors.HealthCheckState
All Implemented Interfaces:
Serializable, Comparable<HealthCheckState>, java.lang.constant.Constable

This class provides information about the health check states that may be held by an LDAP external server.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The health check state that indicates that the associated LDAP external server is available.
    The health check state that indicates that the associated LDAP external server is in a degraded state.
    The health check state that indicates that there are no local servers defined, and therefore no health information is available for local servers.
    The health check state that indicates that there are no local servers defined, and therefore no health information is available for remote servers.
    The health check state that indicates that the associated LDAP external server is unavailable.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the health check state with the specified name.
    Retrieves the name for this health check state.
    Retrieves a string representation of this health check state.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • AVAILABLE

      public static final HealthCheckState AVAILABLE
      The health check state that indicates that the associated LDAP external server is available.
    • DEGRADED

      public static final HealthCheckState DEGRADED
      The health check state that indicates that the associated LDAP external server is in a degraded state.
    • UNAVAILABLE

      public static final HealthCheckState UNAVAILABLE
      The health check state that indicates that the associated LDAP external server is unavailable.
    • NO_LOCAL_SERVERS

      public static final HealthCheckState NO_LOCAL_SERVERS
      The health check state that indicates that there are no local servers defined, and therefore no health information is available for local servers.
    • NO_REMOTE_SERVERS

      public static final HealthCheckState NO_REMOTE_SERVERS
      The health check state that indicates that there are no local servers defined, and therefore no health information is available for remote servers.
  • Method Details

    • values

      public static HealthCheckState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HealthCheckState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      Retrieves the name for this health check state.
      Returns:
      The name for this health check state.
    • forName

      Retrieves the health check state with the specified name.
      Parameters:
      name - The name of the health check state to retrieve. It must not be null.
      Returns:
      The health check state with the specified name, or null if there is no health check state with the given name.
    • toString

      Retrieves a string representation of this health check state.
      Overrides:
      toString in class Enum<HealthCheckState>
      Returns:
      A string representation of this health check state.