java.io.Serializable, java.lang.Comparable<AllocationState>public enum AllocationState extends java.lang.Enum<AllocationState>
| Enum Constant | Description |
|---|---|
ALLOCATED |
|
APP_SKIPPED |
|
LOCALITY_SKIPPED |
|
PRIORITY_SKIPPED |
|
QUEUE_SKIPPED |
|
RESERVED |
| Modifier and Type | Method | Description |
|---|---|---|
static AllocationState |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.