public enum WorkerState extends java.lang.Enum<WorkerState>
Enum Constant and Description |
---|
COMPLETED |
FAILED |
KILLED |
KILLED_BY_SCALE_DOWN |
NOT_PINGING |
RESTARTED |
STARTED |
Modifier and Type | Method and Description |
---|---|
static WorkerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorkerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerState STARTED
public static final WorkerState RESTARTED
public static final WorkerState COMPLETED
public static final WorkerState KILLED
public static final WorkerState NOT_PINGING
public static final WorkerState FAILED
public static final WorkerState KILLED_BY_SCALE_DOWN
public static WorkerState[] values()
for (WorkerState c : WorkerState.values()) System.out.println(c);
public static WorkerState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null