Enum AlertSeverity
- All Implemented Interfaces:
Serializable,Comparable<AlertSeverity>,java.lang.constant.Constable
This class provides information about the types of alert severities that may
be included in alert 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 alert severity that indicates that the associated alert indicates a non-fatal error has occurred.The alert severity that indicates that the associated alert indicates a fatal error has occurred.The alert severity that indicates that the associated alert is informational.The alert severity that indicates that the associated alert indicates a warning has occurred. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertSeverityRetrieves the alert severity with the specified name.getName()Retrieves the name for this alert severity.toString()Retrieves a string representation of this alert severity.static AlertSeverityReturns the enum constant of this type with the specified name.static AlertSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INFO
The alert severity that indicates that the associated alert is informational. -
WARNING
The alert severity that indicates that the associated alert indicates a warning has occurred. -
ERROR
The alert severity that indicates that the associated alert indicates a non-fatal error has occurred. -
FATAL
The alert severity that indicates that the associated alert indicates a fatal error has occurred.
-
-
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 alert severity.- Returns:
- The name for this alert severity.
-
forName
Retrieves the alert severity with the specified name.- Parameters:
name- The name of the alert severity to retrieve.- Returns:
- The alert severity with the specified name, or
nullif there is no alert severity with the given name.
-
toString
Retrieves a string representation of this alert severity.- Overrides:
toStringin classEnum<AlertSeverity>- Returns:
- A string representation of this alert severity.
-