public enum MachineState extends Enum<MachineState>
| Enum Constant and Description |
|---|
DISABLED_FOR_HA |
HA_IN_PROGRESS |
HALTED |
HALTED_FOR_SAVE |
MANAGED |
NOT_MANAGED |
PROVISIONED |
STOPPED |
UNLICENSED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBeingProcessedByHA() |
boolean |
isRetrieveAllowed() |
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 STOPPED
public static final MachineState PROVISIONED
public static final MachineState NOT_MANAGED
public static final MachineState MANAGED
public static final MachineState HALTED
public static final MachineState UNLICENSED
public static final MachineState HA_IN_PROGRESS
public static final MachineState DISABLED_FOR_HA
public static final MachineState HALTED_FOR_SAVE
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 nullpublic boolean isRetrieveAllowed()
public boolean isBeingProcessedByHA()
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.