public enum TaskStateInternal extends Enum<TaskStateInternal>
Enum Constant and Description |
---|
FAILED |
KILL_WAIT |
KILLED |
NEW |
RUNNING |
SCHEDULED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static TaskStateInternal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStateInternal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStateInternal NEW
public static final TaskStateInternal SCHEDULED
public static final TaskStateInternal RUNNING
public static final TaskStateInternal SUCCEEDED
public static final TaskStateInternal FAILED
public static final TaskStateInternal KILL_WAIT
public static final TaskStateInternal KILLED
public static TaskStateInternal[] values()
for (TaskStateInternal c : TaskStateInternal.values()) System.out.println(c);
public static TaskStateInternal 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 © 2008–2024 Apache Software Foundation. All rights reserved.