|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum
com.ace.mws.plugins.NodeReportState
public enum NodeReportState extends Enum
This enumeration represents the current state of a node.
| Enum Constant Summary | |
|---|---|
BUSY
|
|
DOWN
|
|
DRAINED
|
|
DRAINING
|
|
FLUSH
|
|
IDLE
|
|
NONE
|
|
RESERVED
|
|
RUNNING
|
|
UNKNOWN
|
|
UP
|
|
| Field Summary | |
|---|---|
private String |
str
This enumeration represents the current state of a node. |
| Method Summary | |
|---|---|
private def
|
NodeReportState(String str)
|
static NodeReportState
|
parse(String string)
Parses a string and translates it into a respective NodeReportState enum value. |
String
|
toString()
Returns a human-readable name such as "Unknown" for UNKNOWN. |
NodeReportState
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
NodeReportState[]
|
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 |
|---|
NodeReportState BUSY
NodeReportState DOWN
NodeReportState DRAINED
NodeReportState DRAINING
NodeReportState FLUSH
NodeReportState IDLE
NodeReportState NONE
NodeReportState RESERVED
NodeReportState RUNNING
NodeReportState UNKNOWN
NodeReportState UP
| Field Detail |
|---|
private String str
| Method Detail |
|---|
private def NodeReportState(String str)
public static NodeReportState parse(String string)
string - The string to parse.
public String toString()
NodeReportState valueOf(String name)
NodeReportState[] values()
Groovy Documentation