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