|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VMFlag>
com.ace.moab.api.vm.VMFlag
public enum VMFlag
This enumeration specifies the VM flag types of a virtual machine.
Enum Constant Summary | |
---|---|
CAN_MIGRATE
VM may be directly migrated w/o direction from parent workload |
|
CONSUMER
VM should be treated as resource consumer regardless of Moab-tracked workload |
|
DESTROY_PENDING
VM destroy requested |
|
DESTROYED
VM reported destroyed by Resource Manager (VM will be removed when resource manager no longer reports VM) |
|
ONETIMEUSE
VM is was created for a job with vmusagepolicy=createvm |
|
SHARED
Multiple jobs can use VM resources simultaneously |
Method Summary | |
---|---|
java.lang.String |
getMoabName()
Get the name Moab uses for a given flag |
static VMFlag |
parseString(java.lang.String string)
Attempts to parse a string and convert it into a corresponding VMFlag enum value. |
static VMFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VMFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VMFlag SHARED
public static final VMFlag CAN_MIGRATE
public static final VMFlag CONSUMER
public static final VMFlag DESTROY_PENDING
public static final VMFlag DESTROYED
public static final VMFlag ONETIMEUSE
Method Detail |
---|
public static final VMFlag[] values()
for(VMFlag c : VMFlag.values()) System.out.println(c);
public static VMFlag 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 namepublic java.lang.String getMoabName()
public static VMFlag parseString(java.lang.String string) throws java.text.ParseException
string
- the string to parse into a corresponding VMFlag enum value.
java.text.ParseException
- thrown if the string cannot be parsed into a respective
VMFlag.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |