public enum MachineState extends Enum<MachineState>
Machine in a
MachinePool.
The machine state, is the execution state of a Machine, as
reported by the infrastructure.Machine,
MachinePool| Enum Constant and Description |
|---|
PENDING
The machine is in the process of being launched.
|
REJECTED
The machine request was rejected by the underlying infrastructure.
|
REQUESTED
The machine has been requested from the underlying infrastructure and the
request is pending fulfillment.
|
RUNNING
The machine is launched.
|
TERMINATED
The machine has been stopped/shut down.
|
TERMINATING
The machine is in the process of being stopped/shut down.
|
| Modifier and Type | Method and Description |
|---|---|
static MachineState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachineState REQUESTED
public static final MachineState REJECTED
public static final MachineState PENDING
public static final MachineState RUNNING
Machine's
ServiceState may provide more detailed state information).public static final MachineState TERMINATING
public static final MachineState TERMINATED
public static MachineState[] values()
for (MachineState c : MachineState.values()) System.out.println(c);
public static MachineState 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 © 2011–2017 Elastisys. All rights reserved.