|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum
com.adaptc.mws.plugins.Suite
public enum Suite extends Enum
This enumeration represents which suite or context Moab Web Services is running in.
Enum Constant Summary | |
---|---|
CLOUD
|
|
HPC
|
Field Summary | |
---|---|
static Suite |
DEFAULT_SUITE
This enumeration represents which suite or context Moab Web Services is running in. |
private String |
str
|
Method Summary | |
---|---|
private def
|
Suite(String str)
|
static Suite
|
parseString(String suite)
Returns DEFAULT_SUITE by default if none is found matching. |
static Suite
|
parseString(Suite suite)
A helper method to make sure that a true Suite reference may be used. |
String
|
toString()
Returns the suite in a human-readable string, such as "Cloud" for CLOUD and "HPC" for HPC. |
Suite
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
Suite[]
|
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 |
---|
Suite CLOUD
Suite HPC
Field Detail |
---|
public static final Suite DEFAULT_SUITE
private String str
Method Detail |
---|
private def Suite(String str)
public static Suite parseString(String suite)
suite
- The suite as a string
public static Suite parseString(Suite suite)
suite
- An actual suite value
public String toString()
Suite valueOf(String name)
Suite[] values()
Groovy Documentation