|
|||||||||
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.directory.sdk.common.types.AlertSeverity
public enum AlertSeverity
This enumeration defines the severities that may be used for alert types.
Enum Constant Summary | |
---|---|
ERROR
Indicates that the associated alert type is used for error messages. |
|
FATAL
Indicates that the associated alert type is used for fatal alerts that cause the server to shut down or lose significant functionality. |
|
INFO
Indicates that the associated alert type is used for informational messages. |
|
WARNING
Indicates that the associated alert type is used for warning messages. |
Method Summary | |
---|---|
static AlertSeverity |
forName(java.lang.String name)
Retrieves the alert severity with the specified name. |
java.lang.String |
getName()
Retrieves the name 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, toString, 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 such
severity.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |