public static enum Messages.Level extends Enum<Messages.Level>
| Enum Constant and Description |
|---|
INFO
Neutral, message displayed with grey background
|
SUCCESS
Success, message displayed with green background
|
WARNING
Warning or error, message displayed with red background
|
| Modifier and Type | Method and Description |
|---|---|
static Messages.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Messages.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages.Level SUCCESS
public static final Messages.Level INFO
public static final Messages.Level WARNING
public static Messages.Level[] values()
for (Messages.Level c : Messages.Level.values()) System.out.println(c);
public static Messages.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 null