public static enum Message.MessageType extends Enum<Message.MessageType>
Enum Constant and Description |
---|
ERROR |
FATAL |
INFORMATION |
OK |
WARNING |
Modifier and Type | Method and Description |
---|---|
static Message.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.MessageType FATAL
public static final Message.MessageType ERROR
public static final Message.MessageType INFORMATION
public static final Message.MessageType WARNING
public static final Message.MessageType OK
public static Message.MessageType[] values()
for (Message.MessageType c : Message.MessageType.values()) System.out.println(c);
public static Message.MessageType 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 © 2016 JBoss by Red Hat. All Rights Reserved.