public static enum TaskEntity.TaskState extends Enum<TaskEntity.TaskState>
Enum Constant and Description |
---|
STATE_COMPLETED |
STATE_CREATED |
STATE_DELETED |
STATE_INIT |
Modifier and Type | Method and Description |
---|---|
static TaskEntity.TaskState |
valueOf(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.
|
public static final TaskEntity.TaskState STATE_INIT
public static final TaskEntity.TaskState STATE_CREATED
public static final TaskEntity.TaskState STATE_COMPLETED
public static final TaskEntity.TaskState STATE_DELETED
public static TaskEntity.TaskState[] values()
for (TaskEntity.TaskState c : TaskEntity.TaskState.values()) System.out.println(c);
public static TaskEntity.TaskState 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 © 2019. All rights reserved.