Enum AlarmSeverity
- All Implemented Interfaces:
Serializable,Comparable<AlarmSeverity>,java.lang.constant.Constable
This class provides information about the types of alarm severities that may
be included in alarm entries.
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 alarm severity that indicates there is a critical error condition.The alarm severity that indicates that the severity cannot be determined.The alarm severity that indicates there is a major error condition.The alarm severity that indicates there is a minor error condition.The alarm severity that indicates that the associated condition is normal.The alarm severity that indicates there is a warning condition. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmSeverityRetrieves the alarm severity with the specified name.static AlarmSeverityReturns the enum constant of this type with the specified name.static AlarmSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDETERMINATE
The alarm severity that indicates that the severity cannot be determined. -
NORMAL
The alarm severity that indicates that the associated condition is normal. -
WARNING
The alarm severity that indicates there is a warning condition. -
MINOR
The alarm severity that indicates there is a minor error condition. -
MAJOR
The alarm severity that indicates there is a major error condition. -
CRITICAL
The alarm severity that indicates there is a critical error condition.
-
-
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
-
forName
Retrieves the alarm severity with the specified name.- Parameters:
name- The name of the alarm severity to retrieve. It must not benull.- Returns:
- The alarm severity with the specified name, or
nullif there is no alarm severity with the given name.
-