|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<VMUsagePolicy>
com.ace.moab.api.vm.VMUsagePolicy
public enum VMUsagePolicy
Describes the virtual machine requirements of a job
| Enum Constant Summary | |
|---|---|
CREATEVM
Creates a virtual machine |
|
PREFPM
Prefers a physical machine |
|
PREFVM
Prefers a virtual machine |
|
REQUIREPM
Requires a physical machine |
|
REQUIREVM
Requires a virtual machine |
|
| Method Summary | |
|---|---|
java.lang.String |
getMoabLabel()
Returns the representation of this VMUsagePolicy used when
communicating with Moab Workload Manager |
static VMUsagePolicy |
parse(java.lang.String vmUsagePolString)
Returns the VMUsagePolicy represented by the passed in
String. |
java.lang.String |
toString()
Returns a String representation of this VMUsagePolicy |
static VMUsagePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VMUsagePolicy[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final VMUsagePolicy REQUIREPM
public static final VMUsagePolicy PREFPM
public static final VMUsagePolicy CREATEVM
public static final VMUsagePolicy REQUIREVM
public static final VMUsagePolicy PREFVM
| Method Detail |
|---|
public static final VMUsagePolicy[] values()
for(VMUsagePolicy c : VMUsagePolicy.values())
System.out.println(c);
public static VMUsagePolicy 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 toString()
String representation of this VMUsagePolicy
toString in class java.lang.Enum<VMUsagePolicy>public java.lang.String getMoabLabel()
VMUsagePolicy used when
communicating with Moab Workload Manager
VMUsagePolicy used when
communicating with Moab Workload Managerpublic static VMUsagePolicy parse(java.lang.String vmUsagePolString)
VMUsagePolicy represented by the passed in
String. If no VMUsagePolicy matches, null will be
returned.
vmUsagePolString - a String that represents a VMUsagePolicy
VMUsagePolicy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||