public enum WorkerTaskState extends Enum<WorkerTaskState>
Enum Constant and Description |
---|
CANCEL
Cancel state
|
COMPLETED
Completed state
|
PAUSE
Pause state
|
PENDING
Pending state
|
RUNNING
Running state
|
Modifier and Type | Method and Description |
---|---|
static WorkerTaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerTaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerTaskState PENDING
public static final WorkerTaskState PAUSE
public static final WorkerTaskState CANCEL
public static final WorkerTaskState RUNNING
public static final WorkerTaskState COMPLETED
public static WorkerTaskState[] values()
for (WorkerTaskState c : WorkerTaskState.values()) System.out.println(c);
public static WorkerTaskState 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 © 2018 Vitam. All rights reserved.