Groovy Documentation

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

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

enum JobEmailNotifyType

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 JobEmailNotifyType(String humanString, String moabString)

 
Method Summary
static JobEmailNotifyType 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()

JobEmailNotifyType valueOf(String name)

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

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

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


FAIL

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


START

JobEmailNotifyType 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

JobEmailNotifyType

private JobEmailNotifyType(String humanString, String moabString)


 
Method Detail

parseString

static JobEmailNotifyType 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

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


values

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


 

Groovy Documentation