|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.jobarrays.JobArray
class JobArray
Job arrays are an easy way to submit many sub-jobs that perform the same work using the same script, but operate on different sets of data. Sub-jobs are the jobs created by an array job and are identified by the array job ID and an index; for example, if 235[1] is an identifier, the number 235 is a job array ID, and 1 is the sub-job.
Field Summary | |
---|---|
private CancellationPolicyInformation |
cancellationPolicy
Represents the cancellation policy to use for the job array. |
private List |
indexRanges
(JobArrayIndexRange collection) The index ranges used to generate the sub-job indices. |
private List |
indexValues
(Long collection) The index values to use for the sub-jobs. |
private Job |
jobPrototype
The definition of the job to use for each sub-job. |
private String |
name
The name of the job array. |
private Long |
slotLimit
(Optional) The number of sub-jobs in the array that can run at a time. |
Constructor Summary | |
JobArray()
|
Method Summary | |
---|---|
CancellationPolicyInformation
|
getCancellationPolicy()
Represents the cancellation policy to use for the job array. |
List
|
getIndexRanges()
(JobArrayIndexRange collection) The index ranges used to generate the sub-job indices. |
List
|
getIndexValues()
(Long collection) The index values to use for the sub-jobs. |
Job
|
getJobPrototype()
The definition of the job to use for each sub-job. |
String
|
getName()
The name of the job array. |
Long
|
getSlotLimit()
(Optional) The number of sub-jobs in the array that can run at a time. |
void
|
setCancellationPolicy(CancellationPolicyInformation cancellationPolicy)
Represents the cancellation policy to use for the job array. |
void
|
setIndexRanges(List indexRanges)
(JobArrayIndexRange collection) The index ranges used to generate the sub-job indices. |
void
|
setIndexValues(List indexValues)
(Long collection) The index values to use for the sub-jobs. |
void
|
setJobPrototype(Job jobPrototype)
The definition of the job to use for each sub-job. |
void
|
setName(String name)
The name of the job array. |
void
|
setSlotLimit(Long slotLimit)
(Optional) The number of sub-jobs in the array that can run at a time. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private CancellationPolicyInformation cancellationPolicy
private List indexRanges
private List indexValues
private Job jobPrototype
private String name
name
field of the created jobs.
In MWS API version 2, this is stored in the customName
field of the created jobs.
private Long slotLimit
Constructor Detail |
---|
JobArray()
Method Detail |
---|
CancellationPolicyInformation getCancellationPolicy()
List getIndexRanges()
List getIndexValues()
Job getJobPrototype()
String getName()
name
field of the created jobs.
In MWS API version 2, this is stored in the customName
field of the created jobs.
Long getSlotLimit()
void setCancellationPolicy(CancellationPolicyInformation cancellationPolicy)
void setIndexRanges(List indexRanges)
void setIndexValues(List indexValues)
void setJobPrototype(Job jobPrototype)
void setName(String name)
name
field of the created jobs.
In MWS API version 2, this is stored in the customName
field of the created jobs.
void setSlotLimit(Long slotLimit)
String toString()
Groovy Documentation