@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AlertSeverity extends java.lang.Enum<AlertSeverity>
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.
Enum Constant and Description |
---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static AlertSeverity |
forName(java.lang.String name)
Retrieves the alert severity with the specified name.
|
java.lang.String |
getName()
Retrieves the name for this alert severity.
|
java.lang.String |
toString()
Retrieves a string representation of this alert severity.
|
static AlertSeverity |
valueOf(java.lang.String name)
Returns 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.
|
public static final AlertSeverity INFO
public static final AlertSeverity WARNING
public static final AlertSeverity ERROR
public static final AlertSeverity FATAL
public static AlertSeverity[] values()
for (AlertSeverity c : AlertSeverity.values()) System.out.println(c);
public static AlertSeverity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@Nullable public static AlertSeverity forName(@NotNull java.lang.String name)
name
- The name of the alert severity to retrieve.null
if
there is no alert severity with the given name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<AlertSeverity>