public enum SchedulerJobInstanceState extends Enum<SchedulerJobInstanceState> implements StateTransitioner<SchedulerJobInstanceState,SchedulerJobInstanceEvent>
Enum Constant and Description |
---|
FAILED |
KILLED |
LAUNCHED |
LAUNCHING |
RUNNING |
SUCCEEDED |
TIMED_OUT |
WAITING |
Modifier and Type | Method and Description |
---|---|
static SchedulerJobInstanceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerJobInstanceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
nextTransition
public static final SchedulerJobInstanceState WAITING
public static final SchedulerJobInstanceState LAUNCHING
public static final SchedulerJobInstanceState LAUNCHED
public static final SchedulerJobInstanceState RUNNING
public static final SchedulerJobInstanceState FAILED
public static final SchedulerJobInstanceState SUCCEEDED
public static final SchedulerJobInstanceState TIMED_OUT
public static final SchedulerJobInstanceState KILLED
public static SchedulerJobInstanceState[] values()
for (SchedulerJobInstanceState c : SchedulerJobInstanceState.values()) System.out.println(c);
public static SchedulerJobInstanceState 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 © 2014–2018 Apache Software Foundation. All rights reserved.