public enum AllocationState extends Enum<AllocationState>
| Enum Constant and Description |
|---|
RESIZING
Enum value Resizing.
|
STEADY
Enum value Steady.
|
STOPPING
Enum value Stopping.
|
| Modifier and Type | Method and Description |
|---|---|
static AllocationState |
fromString(String value)
Parses a serialized value to a AllocationState instance.
|
String |
toString() |
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 STEADY
public static final AllocationState RESIZING
public static final AllocationState STOPPING
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 nullpublic static AllocationState fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AllocationState>Copyright © 2019. All rights reserved.