Enum TaskEntity.TaskState
- java.lang.Object
-
- java.lang.Enum<TaskEntity.TaskState>
-
- org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.TaskState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TaskEntity.TaskState>
- Enclosing class:
- TaskEntity
public static enum TaskEntity.TaskState extends java.lang.Enum<TaskEntity.TaskState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STATE_COMPLETED
STATE_CREATED
STATE_DELETED
STATE_INIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskEntity.TaskState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TaskEntity.TaskState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_INIT
public static final TaskEntity.TaskState STATE_INIT
-
STATE_CREATED
public static final TaskEntity.TaskState STATE_CREATED
-
STATE_COMPLETED
public static final TaskEntity.TaskState STATE_COMPLETED
-
STATE_DELETED
public static final TaskEntity.TaskState STATE_DELETED
-
-
Method Detail
-
values
public static TaskEntity.TaskState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskEntity.TaskState c : TaskEntity.TaskState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskEntity.TaskState 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
-
-