public static enum ThreadElement.Operation extends java.lang.Enum<ThreadElement.Operation>
Enum Constant and Description |
---|
CREATE_PROTOCOL |
NONE |
SEND_SAVED_PROTOCOL |
SEND_UNREAD_PROTOCOL |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static ThreadElement.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadElement.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadElement.Operation NONE
public static final ThreadElement.Operation CREATE_PROTOCOL
public static final ThreadElement.Operation SEND_SAVED_PROTOCOL
public static final ThreadElement.Operation SEND_UNREAD_PROTOCOL
public static ThreadElement.Operation[] values()
for (ThreadElement.Operation c : ThreadElement.Operation.values()) System.out.println(c);
public static ThreadElement.Operation 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 nullpublic int getCode()