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