public static enum Message.Type extends Enum<Message.Type>
Enum Constant and Description |
---|
CANCEL |
DENIED |
EXCEPTION |
NOT_FOUND |
OK |
PARTIALLY_OK |
REQUEST_1 |
REQUEST_2 |
REQUEST_3 |
REQUEST_4 |
REQUEST_FF_1 |
REQUEST_FF_2 |
UNKNOWN_ID |
USER1 |
USER2 |
Modifier and Type | Method and Description |
---|---|
static Message.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Type REQUEST_1
public static final Message.Type REQUEST_2
public static final Message.Type REQUEST_3
public static final Message.Type REQUEST_4
public static final Message.Type REQUEST_FF_1
public static final Message.Type REQUEST_FF_2
public static final Message.Type OK
public static final Message.Type PARTIALLY_OK
public static final Message.Type NOT_FOUND
public static final Message.Type DENIED
public static final Message.Type UNKNOWN_ID
public static final Message.Type EXCEPTION
public static final Message.Type CANCEL
public static final Message.Type USER1
public static final Message.Type USER2
public static Message.Type[] values()
for (Message.Type c : Message.Type.values()) System.out.println(c);
public static Message.Type 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 © 2013. All Rights Reserved.