public static enum Message.MessageType extends Enum<Message.MessageType>
| Enum Constant and Description |
|---|
TYPE_ERROR
The message represents an error.
|
TYPE_INFO
The message represents an information.
|
TYPE_UNKNOWN
The message is of unknown type.
|
TYPE_WARNING
The message represents a 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 TYPE_WARNING
public static final Message.MessageType TYPE_ERROR
public static final Message.MessageType TYPE_INFO
public static final Message.MessageType TYPE_UNKNOWN
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 © 2017. All rights reserved.