public enum AlertSeverity extends java.lang.Enum<AlertSeverity>
| Enum Constant and Description |
|---|
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.
|
| 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 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 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.