Groovy Documentation

com.ace.mws.nodes
[Groovy] Enum NodeOperation

java.lang.Object
  com.ace.mws.nodes.NodeOperation

enum NodeOperation

This class represents an operation that can be taken on a given node.


Enum Constant Summary
CREATE_VM

MIGRATE_VM

MODIFY_OS

OFFLINE

ONLINE

POWER_OFF

POWER_ON

REBOOT

 
Property Summary
String humanName

String moabName

 
Constructor Summary
private NodeOperation(String moabName, String humanName)

 
Method Summary
static NodeOperation parseNodeOperationString(String nodeOperationString)

Parses a string and converts it into a NodeOperation enum value if possible.

String toString()

NodeOperation valueOf(String name)

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

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

CREATE_VM

NodeOperation CREATE_VM


MIGRATE_VM

NodeOperation MIGRATE_VM


MODIFY_OS

NodeOperation MODIFY_OS


OFFLINE

NodeOperation OFFLINE


ONLINE

NodeOperation ONLINE


POWER_OFF

NodeOperation POWER_OFF


POWER_ON

NodeOperation POWER_ON


REBOOT

NodeOperation REBOOT


 
Property Detail

humanName

String humanName


moabName

String moabName


 
Constructor Detail

NodeOperation

private NodeOperation(String moabName, String humanName)


 
Method Detail

parseNodeOperationString

static NodeOperation parseNodeOperationString(String nodeOperationString)
Parses a string and converts it into a NodeOperation enum value if possible.
throws:
ParseException thrown if the String cannot be parsed.
Parameters:
nodeOperationString - the string to be parsed.
Returns:
the corresponding NodeOperation enum value.


toString

String toString()


valueOf

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


values

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


 

Groovy Documentation