Groovy Documentation

com.ace.mws.vms
[Groovy] Enum VMUsagePolicy

java.lang.Object
  com.ace.mws.vms.VMUsagePolicy
All Implemented Interfaces:
Serializable

enum VMUsagePolicy

This enumeration describes the virtual machine requirements of a job


Enum Constant Summary
CREATEPERSISTENTVM

Creates a virtual machine that doesn't go away after the job is done.

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.

 
Field Summary
private String printLabel

 
Constructor Summary
private VMUsagePolicy(String label)

 
Method Summary
String getMoabLabel()

static VMUsagePolicy parse(String vmUsagePolString)

Returns the VMUsagePolicy represented by the passed in String.

String toString()

VMUsagePolicy valueOf(String name)

Returns the enum constant of this type with the specified name.

VMUsagePolicy[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

CREATEPERSISTENTVM

VMUsagePolicy CREATEPERSISTENTVM
Creates a virtual machine that doesn't go away after the job is done.


CREATEVM

VMUsagePolicy CREATEVM
Creates a virtual machine.


PREFPM

VMUsagePolicy PREFPM
Prefers a physical machine.


PREFVM

VMUsagePolicy PREFVM
Prefers a virtual machine.


REQUIREPM

VMUsagePolicy REQUIREPM
Requires a physical machine.


REQUIREVM

VMUsagePolicy REQUIREVM
Requires a virtual machine.


 
Field Detail

printLabel

private String printLabel


 
Constructor Detail

VMUsagePolicy

private VMUsagePolicy(String label)


 
Method Detail

getMoabLabel

String getMoabLabel()


parse

static VMUsagePolicy parse(String vmUsagePolString)
Returns the VMUsagePolicy represented by the passed in String. If no VMUsagePolicy matches, null will be returned.
Parameters:
vmUsagePolString - a String that represents a VMUsagePolicy
Returns:
the VMUsagePolicy


toString

String toString()


valueOf

VMUsagePolicy valueOf(String name)
Returns the enum constant of this type with the specified name.


values

VMUsagePolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation