|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AlertSeverity>
com.unboundid.ldap.sdk.unboundidds.AlertSeverity
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AlertSeverity
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class provides information about the types of alert severities that may be included in alert entries.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AlertSeverity INFO
public static final AlertSeverity WARNING
public static final AlertSeverity ERROR
public static final AlertSeverity FATAL
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static AlertSeverity forName(java.lang.String name)
name
- The name of the alert severity to retrieve.
null
if
there is no alert severity with the given name.public java.lang.String toString()
toString
in class java.lang.Enum<AlertSeverity>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |