public enum TaskAction extends Enum<TaskAction>
| Enum Constant and Description |
|---|
DISPATCH |
PAUSE |
RUN |
STOP |
SUBMIT |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static TaskAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAction PAUSE
public static final TaskAction STOP
public static final TaskAction TIMEOUT
public static final TaskAction SUBMIT
public static final TaskAction RUN
public static final TaskAction DISPATCH
public static TaskAction[] values()
for (TaskAction c : TaskAction.values()) System.out.println(c);
public static TaskAction 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 © 2022 The Apache Software Foundation. All rights reserved.