Groovy Documentation

com.ace.mws.services
[Groovy] Enum ServiceType

java.lang.Object
  com.ace.mws.services.ServiceType

enum ServiceType

Enum Constant Summary
CONTAINER

PM

STORAGE

VM

 
Method Summary
static ServiceType parse(String string)

Parses a string and translates it into an enum value.

ServiceType valueOf(String name)

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

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

CONTAINER

ServiceType CONTAINER


PM

ServiceType PM


STORAGE

ServiceType STORAGE


VM

ServiceType VM


 
Method Detail

parse

static ServiceType parse(String string)
Parses a string and translates it into an enum value. Will return null when the string cannot be parsed.
Parameters:
string - the string to parse.
Returns:
the corresponding ServiceType object.


valueOf

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


values

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


 

Groovy Documentation