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