|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JobEmailNotifyType>
com.ace.moab.api.jobs.JobEmailNotifyType
public enum JobEmailNotifyType
This enumeration represents the types of e-mail notifications that can happen in relation to a job's status. In order to use this functionality, a valid e-mail server must be setup.
Enum Constant Summary | |
---|---|
JOB_END
An e-mail will be sent out when the job successfully ends. |
|
JOB_FAIL
An e-mail will be sent out when the job fails. |
|
JOB_START
An e-mail will be sent out when the job starts. |
Method Summary | |
---|---|
static JobEmailNotifyType |
parseString(java.lang.String string)
Parse a string and converts it into a corresponding JobEmailNotifyType enum value. |
java.lang.String |
toMoabString()
Returns the enumerated value in a format that Moab recognizes |
java.lang.String |
toString()
|
static JobEmailNotifyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobEmailNotifyType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobEmailNotifyType JOB_END
public static final JobEmailNotifyType JOB_FAIL
public static final JobEmailNotifyType JOB_START
Method Detail |
---|
public static final JobEmailNotifyType[] values()
for(JobEmailNotifyType c : JobEmailNotifyType.values()) System.out.println(c);
public static JobEmailNotifyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString
in class java.lang.Enum<JobEmailNotifyType>
public java.lang.String toMoabString()
public static JobEmailNotifyType parseString(java.lang.String string) throws java.text.ParseException
string
- the string to parse.
java.text.ParseException
- thrown if the String does not match any JobEmailNotifyType
value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |