|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Types.HostAllowedOperations>
com.xensource.xenapi.Types.HostAllowedOperations
public static enum Types.HostAllowedOperations
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |