| Method Summary |
| |
__init__(self)
This class is used to setup the plist file for multi-task jobs. |
| |
addFile(self,
filepath,
filename,
isExecutable)
Specifies a local file to copy to the Xgrid agents. |
| |
addTask(self,
cmd,
args,
env,
inputStream,
dependsOnTasks)
Adds a task to the jobSpecification. |
| |
copyTask(self)
|
| |
delFile(self,
fileName)
Deletes the file named filename from the JobSpecification. |
| |
delTask(self,
task)
Deletes the task named task. |
| |
dependsOnJobs(self)
Returns the value of dependsOnJobs. |
| |
editTask(self)
|
| |
email(self)
Returns the notification email. |
| |
files(self)
Prints a list of included filenames. |
| |
jobSpec(self)
Prints the full job specification dictionary. |
| |
minimumTaskCount(self)
Returns the value of minimumTaskCount. |
| |
name(self)
Returns the job name. |
| |
printTasks(self)
Print the task specifications of all tasks. |
| |
setDependsOnJobs(self,
jobArray)
Takes a list of Xgrid job ids that must complete before this job
begins. |
| |
setEmail(self,
email)
Set the notification email for the batch job. |
| |
setMinimumTaskCount(self,
count)
Sets the min number of tasks that should be started. |
| |
setName(self,
name)
Set the name (a string) of the job. |
| |
setTasksMustStartSimultaneously(self,
simul)
Sets the tasksMustStartSimultanously flag. |
| |
tasks(self)
Return a list of the task names. |
| |
tasksMustStartSimultaneously(self)
Returns the value of tasksMustStartSimultaneously. |