public static enum Alert.AlertSeverity extends Enum<Alert.AlertSeverity>
Enum Constant and Description |
---|
CRITICAL
Critical
|
INFORMATIONAL
Informational
|
WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static Alert.AlertSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alert.AlertSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.AlertSeverity INFORMATIONAL
public static final Alert.AlertSeverity WARNING
public static final Alert.AlertSeverity CRITICAL
public static Alert.AlertSeverity[] values()
for (Alert.AlertSeverity c : Alert.AlertSeverity.values()) System.out.println(c);
public static Alert.AlertSeverity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.