Groovy Documentation

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

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

enum NodePower

Represents the various options for a Node's power state.


Enum Constant Summary
HIBERNATE

NONE

OFF

ON

RESET

STANDBY

 
Property Summary
String moabLabel

 
Constructor Summary
private NodePower(String moabLabel)

 
Method Summary
static NodePower parseNodePowerString(String string)

Parses a string and translates it into a NodePower enum value.

String toString()

NodePower valueOf(String name)

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

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

HIBERNATE

NodePower HIBERNATE


NONE

NodePower NONE


OFF

NodePower OFF


ON

NodePower ON


RESET

NodePower RESET


STANDBY

NodePower STANDBY


 
Property Detail

moabLabel

String moabLabel


 
Constructor Detail

NodePower

private NodePower(String moabLabel)


 
Method Detail

parseNodePowerString

static NodePower parseNodePowerString(String string)
Parses a string and translates it into a NodePower enum value.
Parameters:
string - the string to parse.
Returns:
the corresponding NodePower object.


toString

String toString()


valueOf

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


values

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


 

Groovy Documentation