|
||||||||
| 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 | |
|---|---|
String |
toString()
|
static Types.HostAllowedOperations |
valueOf(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, 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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Types.HostAllowedOperations>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||