Groovy Documentation

com.ace.mws.plugins
[Java] Enum Suite

java.lang.Object
  java.lang.Enum
      com.ace.mws.plugins.Suite

public enum Suite
extends Enum

This enum represents which suite or context Moab Web Services is running in - HPC or Cloud.

Authors:
bsaville


Enum Constant Summary
CLOUD

HPC

 
Field Summary
static Suite DEFAULT_SUITE

This enum represents which suite or context Moab Web Services is running in - HPC or Cloud.

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.

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

CLOUD

Suite CLOUD


HPC

Suite HPC


 
Field Detail

DEFAULT_SUITE

public static final Suite DEFAULT_SUITE
This enum represents which suite or context Moab Web Services is running in - HPC or Cloud.
Authors:
bsaville


str

private String str


 
Method Detail

Suite

private def Suite(String str)


parseString

public static Suite parseString(String suite)
Returns DEFAULT_SUITE by default if none is found matching. This is a case insensitive match.
Parameters:
suite - The suite as a string
Returns:
The corresponding suite value


parseString

public static Suite parseString(Suite suite)
A helper method to make sure that a true Suite reference may be used.
Parameters:
suite - An actual suite value
Returns:
The suite parameter


toString

public String toString()
Returns the suite in a human-readable string, such as "Cloud" for CLOUD.
Returns:
A human-readable string


valueOf

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


values

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


 

Groovy Documentation