|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum com.adaptc.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 |
---|
NodeReportPower HIBERNATE
NodeReportPower NONE
NodeReportPower OFF
NodeReportPower ON
NodeReportPower RESET
NodeReportPower STANDBY
Field Detail |
---|
private String moabLabel
Method Detail |
---|
private def NodeReportPower(String moabLabel)
public static NodeReportPower parse(String string)
string
- The string to parse.
public String toString()
NodeReportPower valueOf(String name)
NodeReportPower[] values()
Groovy Documentation