Enum ThreadElement.Operation
- java.lang.Object
-
- java.lang.Enum<ThreadElement.Operation>
-
- de.bsvrz.pua.prot.manager.taskmanager.ThreadElement.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ThreadElement.Operation>
,java.lang.constant.Constable
- Enclosing class:
- ThreadElement
public static enum ThreadElement.Operation extends java.lang.Enum<ThreadElement.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_PROTOCOL
NONE
SEND_SAVED_PROTOCOL
SEND_UNREAD_PROTOCOL
-
Method Summary
Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NONE
public static final ThreadElement.Operation NONE
-
CREATE_PROTOCOL
public static final ThreadElement.Operation CREATE_PROTOCOL
-
SEND_SAVED_PROTOCOL
public static final ThreadElement.Operation SEND_SAVED_PROTOCOL
-
SEND_UNREAD_PROTOCOL
public static final ThreadElement.Operation SEND_UNREAD_PROTOCOL
-
-
Method Detail
-
values
public static ThreadElement.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreadElement.Operation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
-