public enum VirtualMachineState extends Enum<VirtualMachineState>
| Enum Constant and Description |
|---|
ALLOCATED
The virtual machine does not exists in the hypervisor but has physical machine assigned.
|
CONFIGURED
The virtual machine exists in the hypervisor.
|
LOCKED
Some operation is being performed on the virtual machine.
|
NOT_ALLOCATED
The virtual machine only exists in Abiquo and has not yet a physical machine assigned.
|
OFF
The virtual machine exists in the hypervisor and is OFF.
|
ON
The virtual machine exists in the hypervisor and is ON.
|
PAUSED
The virtual machine exists in the hypervisor and is SUSPENDED.
|
UNKNOWN
Abiquo does know the actual state of the virtual machine.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
existsInHypervisor() |
static VirtualMachineState |
fromId(int id) |
static VirtualMachineState |
fromValue(String value) |
int |
id() |
boolean |
instanceAllowed() |
boolean |
isDeployed() |
boolean |
reconfigureAllowed() |
String |
toOVF() |
String |
toResourceState() |
VirtualMachineState |
travel(VirtualMachineStateTransition transaction) |
static VirtualMachineState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualMachineState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualMachineState NOT_ALLOCATED
public static final VirtualMachineState ALLOCATED
public static final VirtualMachineState CONFIGURED
public static final VirtualMachineState ON
public static final VirtualMachineState PAUSED
public static final VirtualMachineState OFF
public static final VirtualMachineState LOCKED
public static final VirtualMachineState UNKNOWN
public static VirtualMachineState[] values()
for (VirtualMachineState c : VirtualMachineState.values()) System.out.println(c);
public static VirtualMachineState 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 VirtualMachineState fromValue(String value)
public VirtualMachineState travel(VirtualMachineStateTransition transaction)
public int id()
public static VirtualMachineState fromId(int id)
public String toOVF()
public String toResourceState()
public boolean isDeployed()
public boolean existsInHypervisor()
public boolean reconfigureAllowed()
public boolean instanceAllowed()
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.