public static enum SchedulerApplicationAttempt.AMState extends Enum<SchedulerApplicationAttempt.AMState>
Enum Constant and Description |
---|
ACTIVATED |
ASSIGNED |
INACTIVATED |
LAUNCHED |
UNMANAGED |
Modifier and Type | Method and Description |
---|---|
String |
getDiagnosticMessage() |
static SchedulerApplicationAttempt.AMState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerApplicationAttempt.AMState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerApplicationAttempt.AMState UNMANAGED
public static final SchedulerApplicationAttempt.AMState INACTIVATED
public static final SchedulerApplicationAttempt.AMState ACTIVATED
public static final SchedulerApplicationAttempt.AMState ASSIGNED
public static final SchedulerApplicationAttempt.AMState LAUNCHED
public static SchedulerApplicationAttempt.AMState[] values()
for (SchedulerApplicationAttempt.AMState c : SchedulerApplicationAttempt.AMState.values()) System.out.println(c);
public static SchedulerApplicationAttempt.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 nullpublic String getDiagnosticMessage()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.