public static enum Types.HostAllowedOperations extends java.lang.Enum<Types.HostAllowedOperations>
Enum Constant and Description |
---|
EVACUATE
Indicates this host is evacuating
|
POWER_ON
Indicates this host is in the process of being powered on
|
PROVISION
Indicates this host is able to provision another VM
|
REBOOT
Indicates this host is in the process of rebooting
|
SHUTDOWN
Indicates this host is in the process of shutting itself down
|
UNRECOGNIZED
The value does not belong to this enumeration
|
VM_MIGRATE
This host is the migration target of a VM
|
VM_RESUME
This host is resuming a VM
|
VM_START
This host is starting a VM
|
Modifier and Type | Method and Description |
---|---|
static Types.HostAllowedOperations |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.HostAllowedOperations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.HostAllowedOperations UNRECOGNIZED
public static final Types.HostAllowedOperations PROVISION
public static final Types.HostAllowedOperations EVACUATE
public static final Types.HostAllowedOperations SHUTDOWN
public static final Types.HostAllowedOperations REBOOT
public static final Types.HostAllowedOperations POWER_ON
public static final Types.HostAllowedOperations VM_START
public static final Types.HostAllowedOperations VM_RESUME
public static final Types.HostAllowedOperations VM_MIGRATE
public static Types.HostAllowedOperations[] values()
for (Types.HostAllowedOperations c : Types.HostAllowedOperations.values()) System.out.println(c);
public static Types.HostAllowedOperations 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 null