Enum HealthCheckState
- All Implemented Interfaces:
Serializable,Comparable<HealthCheckState>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum HealthCheckState
extends Enum<HealthCheckState>
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 ConstantsEnum ConstantDescriptionThe 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 TypeMethodDescriptionstatic HealthCheckStateRetrieves the health check state with the specified name.getName()Retrieves the name for this health check state.toString()Retrieves a string representation of this health check state.static HealthCheckStateReturns the enum constant of this type with the specified name.static HealthCheckState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE
The health check state that indicates that the associated LDAP external server is available. -
DEGRADED
The health check state that indicates that the associated LDAP external server is in a degraded state. -
UNAVAILABLE
The health check state that indicates that the associated LDAP external server is unavailable. -
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
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
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
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 nameNullPointerException- 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 benull.- Returns:
- The health check state with the specified name, or
nullif there is no health check state with the given name.
-
toString
Retrieves a string representation of this health check state.- Overrides:
toStringin classEnum<HealthCheckState>- Returns:
- A string representation of this health check state.
-