public static enum Message.STYLE extends java.lang.Enum<Message.STYLE>
Modifier and Type | Method and Description |
---|---|
static Message.STYLE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.STYLE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.STYLE DANGER
public static final Message.STYLE DEFAULT
public static final Message.STYLE SUCCESS
public static final Message.STYLE WARNING
public static Message.STYLE[] values()
for (Message.STYLE c : Message.STYLE.values()) System.out.println(c);
public static Message.STYLE 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 nullCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.