Groovy Documentation

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

java.lang.Object
  com.ace.mws.vms.VMFlag

enum VMFlag

This enumeration specifies the VM flag types of a virtual machine.


Enum Constant Summary
CANNOT_MIGRATE

This value is used to remove the CAN_MIGRATE flag.

CAN_MIGRATE

VM may be directly migrated without direction from parent workload.

CONSUMER

VM should be treated as resource consumer regardless of Moab-tracked workload.

CREATION_COMPLETED

VM creation completed.

DELETED

VM deleted.

DESTROYED

VM reported destroyed by Resource Manager (VM will be removed when resource manager no longer reports VM).

DESTROY_PENDING

VM destroy requested.

INITIALIZING

VM is initializing.

ONETIMEUSE

VM is was created for a job with vmusagepolicy=createvm.

SHARED

Multiple jobs can use VM resources simultaneously.

UTILIZATION_REPORTED

 
Field Summary
private String moabName

 
Constructor Summary
private VMFlag(String moabName)

 
Method Summary
String getMoabName()

static VMFlag parseString(String string)

Attempts to parse a string and convert it into a corresponding VMFlag enum value.

VMFlag valueOf(String name)

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

VMFlag[] 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

CANNOT_MIGRATE

VMFlag CANNOT_MIGRATE
This value is used to remove the CAN_MIGRATE flag. And will not be returned.


CAN_MIGRATE

VMFlag CAN_MIGRATE
VM may be directly migrated without direction from parent workload.


CONSUMER

VMFlag CONSUMER
VM should be treated as resource consumer regardless of Moab-tracked workload.


CREATION_COMPLETED

VMFlag CREATION_COMPLETED
VM creation completed.


DELETED

VMFlag DELETED
VM deleted.


DESTROYED

VMFlag DESTROYED
VM reported destroyed by Resource Manager (VM will be removed when resource manager no longer reports VM).


DESTROY_PENDING

VMFlag DESTROY_PENDING
VM destroy requested.


INITIALIZING

VMFlag INITIALIZING
VM is initializing.


ONETIMEUSE

VMFlag ONETIMEUSE
VM is was created for a job with vmusagepolicy=createvm.


SHARED

VMFlag SHARED
Multiple jobs can use VM resources simultaneously.


UTILIZATION_REPORTED

VMFlag UTILIZATION_REPORTED


 
Field Detail

moabName

private String moabName


 
Constructor Detail

VMFlag

private VMFlag(String moabName)


 
Method Detail

getMoabName

String getMoabName()


parseString

static VMFlag parseString(String string)
Attempts to parse a string and convert it into a corresponding VMFlag enum value.
throws:
ParseException thrown if the string cannot be parsed into a respective VMFlag.
Parameters:
string - the string to parse into a corresponding VMFlag enum value.
Returns:
the corresponding VMFlag enum value.


valueOf

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


values

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


 

Groovy Documentation