Groovy Documentation

com.ace.mws.jobarrays
[Groovy] Enum CancellationPolicy

java.lang.Object
  com.ace.mws.jobarrays.CancellationPolicy

enum CancellationPolicy

This enumeration represents job array cancellation policies, and is to be used in combination with CancellationPolicyInformation.

Authors:
bsaville


Enum Constant Summary
FAILURE

Cancels the job array if the specified sub-job fails.

SUCCESS

Cancels the job array if the specified sub-job succeeds.

 
Method Summary
static CancellationPolicy parse(String string)

Parses a string representing the cancellation policy, which may be a lower case variant of the value name, such as "failure".

CancellationPolicy valueOf(String name)

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

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

FAILURE

CancellationPolicy FAILURE
Cancels the job array if the specified sub-job fails.


SUCCESS

CancellationPolicy SUCCESS
Cancels the job array if the specified sub-job succeeds.


 
Method Detail

parse

static CancellationPolicy parse(String string)
Parses a string representing the cancellation policy, which may be a lower case variant of the value name, such as "failure".
Parameters:
string
Returns:


valueOf

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


values

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


 

Groovy Documentation