public static enum Alert.AlertType extends Enum<Alert.AlertType>
| Enum Constant and Description |
|---|
ERROR
Error severity
|
INFO
Info severity
|
SUCCESS
Success severity
|
WARNING
Warning severity
|
| Modifier and Type | Method and Description |
|---|---|
static Alert.AlertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alert.AlertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.AlertType SUCCESS
public static final Alert.AlertType INFO
public static final Alert.AlertType WARNING
public static final Alert.AlertType ERROR
public static Alert.AlertType[] values()
for (Alert.AlertType c : Alert.AlertType.values()) System.out.println(c);
public static Alert.AlertType 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 © 2019–2022 Dominokit. All rights reserved.