Groovy Documentation

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

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

enum NodeType

Represents the type of node as reported by a resource manager.


Enum Constant Summary
COMPUTE

Advertises at least processors and memory.

LICENSE

Advertises licenses to license managers.

STORAGE

Advertises network-mountable disk space.

 
Property Summary
String str

 
Constructor Summary
private NodeType(String str)

 
Method Summary
static NodeType parse(String str)

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

String toString()

NodeType valueOf(String name)

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

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

COMPUTE

NodeType COMPUTE
Advertises at least processors and memory.


LICENSE

NodeType LICENSE
Advertises licenses to license managers.


STORAGE

NodeType STORAGE
Advertises network-mountable disk space.


 
Property Detail

str

String str


 
Constructor Detail

NodeType

private NodeType(String str)


 
Method Detail

parse

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


toString

String toString()


valueOf

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


values

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


 

Groovy Documentation