Groovy Documentation

com.ace.mws.plugins
[Java] Enum NodeReportPower

java.lang.Object
  java.lang.Enum
      com.ace.mws.plugins.NodeReportPower

public enum NodeReportPower
extends Enum

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


Enum Constant Summary
HIBERNATE

NONE

OFF

ON

RESET

STANDBY

 
Field Summary
private String moabLabel

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

 
Method Summary
private def NodeReportPower(String moabLabel)

static NodeReportPower parse(String string)

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

String toString()

Returns the actual label used by Moab, i.e.

NodeReportPower valueOf(String name)

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

NodeReportPower[] values()

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

 
Methods inherited from class Enum
name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

HIBERNATE

NodeReportPower HIBERNATE


NONE

NodeReportPower NONE


OFF

NodeReportPower OFF


ON

NodeReportPower ON


RESET

NodeReportPower RESET


STANDBY

NodeReportPower STANDBY


 
Field Detail

moabLabel

private String moabLabel
Represents the various options for a node's power state.


 
Method Detail

NodeReportPower

private def NodeReportPower(String moabLabel)


parse

public static NodeReportPower parse(String string)
Parses a string and translates it into a NodePower enum value.
Parameters:
string - The string to parse.
Returns:
The corresponding NodePower object or null if none is found.


toString

public String toString()
Returns the actual label used by Moab, i.e. "Reset" for RESET.
Returns:
The actual moab label


valueOf

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


values

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


 

Groovy Documentation