public static enum Alert.Level extends Enum<Alert.Level>
Modifier and Type | Method and Description |
---|---|
static Alert.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alert.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.Level WARN
public static final Alert.Level ERROR
public static Alert.Level[] values()
for (Alert.Level c : Alert.Level.values()) System.out.println(c);
public static Alert.Level 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.