Groovy Documentation

com.ace.mws.jobs
[Groovy] Enum JobEmailNotifyTypeVersion1

java.lang.Object
  com.ace.mws.jobs.JobEmailNotifyTypeVersion1

enum JobEmailNotifyTypeVersion1

This enumeration represents the types of email notifications that can happen in relation to a job's status. In order to use this functionality, a valid email server must be setup.


Enum Constant Summary
END

An email will be sent out when the job successfully ends.

FAIL

An email will be sent out when the job fails.

START

An email will be sent out when the job starts.

 
Field Summary
private String humanString

The string that is human readable.

private String moabString

The string that is reported by Moab.

 
Constructor Summary
private JobEmailNotifyTypeVersion1(String humanString, String moabString)

 
Method Summary
static JobEmailNotifyTypeVersion1 parseString(String string)

String toMoabString()

Returns the enumerated value in a format that Moab recognizes

static String toMoabString(String string)

Converts a human readable string or moab string into the moab string.

String toString()

JobEmailNotifyTypeVersion1 valueOf(String name)

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

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

END

JobEmailNotifyTypeVersion1 END
An email will be sent out when the job successfully ends.


FAIL

JobEmailNotifyTypeVersion1 FAIL
An email will be sent out when the job fails.


START

JobEmailNotifyTypeVersion1 START
An email will be sent out when the job starts.


 
Field Detail

humanString

private String humanString
The string that is human readable.


moabString

private String moabString
The string that is reported by Moab.


 
Constructor Detail

JobEmailNotifyTypeVersion1

private JobEmailNotifyTypeVersion1(String humanString, String moabString)


 
Method Detail

parseString

static JobEmailNotifyTypeVersion1 parseString(String string)


toMoabString

String toMoabString()
Returns the enumerated value in a format that Moab recognizes
Returns:
the enumerated value in a format that Moab recognizes


toMoabString

static String toMoabString(String string)
Converts a human readable string or moab string into the moab string. For use with the serializer for job creation.
Parameters:
string
Returns:


toString

String toString()


valueOf

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


values

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


 

Groovy Documentation