public static enum WorkerStateInfo.WorkerExitStatus extends Enum<WorkerStateInfo.WorkerExitStatus>
Enum Constant and Description |
---|
WORKER_EXIT_FAILURE
Worker exited with failure
|
WORKER_EXIT_STOPPED
Worker exited because it received stop request
|
WORKER_EXIT_SUCCESS
Worker exited successfully
|
Modifier and Type | Method and Description |
---|---|
static WorkerStateInfo.WorkerExitStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerStateInfo.WorkerExitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerStateInfo.WorkerExitStatus WORKER_EXIT_SUCCESS
public static final WorkerStateInfo.WorkerExitStatus WORKER_EXIT_FAILURE
public static final WorkerStateInfo.WorkerExitStatus WORKER_EXIT_STOPPED
public static WorkerStateInfo.WorkerExitStatus[] values()
for (WorkerStateInfo.WorkerExitStatus c : WorkerStateInfo.WorkerExitStatus.values()) System.out.println(c);
public static WorkerStateInfo.WorkerExitStatus 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 nullThis documentation was released into the public domain.