|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
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 |
---|
JobEmailNotifyType END
JobEmailNotifyType FAIL
JobEmailNotifyType START
Field Detail |
---|
private String humanString
private String moabString
Constructor Detail |
---|
private JobEmailNotifyType(String humanString, String moabString)
Method Detail |
---|
static JobEmailNotifyType parseString(String string)
String toMoabString()
static String toMoabString(String string)
String toString()
JobEmailNotifyType valueOf(String name)
JobEmailNotifyType[] values()
Groovy Documentation