public class DAGJob extends Job
Modifier and Type | Field and Description |
---|---|
static String |
JOB_PREFIX
The prefix to be attached for the DAX jobs
|
private String |
mDAGFile
The DAG File that the job refers to.
|
private String |
mDAGLFN
The DAG LFN.
|
private String |
mDirectory
The directory in which the DAG needs to execute.
|
CHMOD_JOB, CLEANUP_JOB, COMPUTE_JOB, condorUniverse, condorVariables, CREATE_DIR_JOB, DAG_JOB, dagmanVariables, DAX_JOB, dvName, dvNamespace, dvVersion, envVariables, executable, executionPool, globusRSL, globusScheduler, hints, inputFiles, INTER_POOL_JOB, jobClass, jobID, jobName, level, logicalId, logicalName, namespace, outputFiles, REPLICA_REG_JOB, STAGE_IN_JOB, STAGE_IN_WORKER_PACKAGE_JOB, STAGE_OUT_JOB, stdErr, stdIn, stdOut, strargs, UNASSIGNED_JOB, vdsNS, version
Constructor and Description |
---|
DAGJob()
The default constructor.
|
DAGJob(Job job)
The overloaded construct that constructs a DAG job by wrapping around
the
Job job. |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a new copy of the Object.
|
String |
generateName(String prefix)
Generates a name for the job that serves as the primary id for the job
|
String |
getDAGFile()
Returns the DAGFile the job refers to.
|
String |
getDAGLFN()
Returns the lfn for the DAGFile the job refers to.
|
String |
getDirectory()
Returns the directory the job refers to.
|
void |
setDAGFile(String file)
Sets the DAG file
|
void |
setDAGLFN(String lfn)
Sets the DAG file LFN
|
void |
setDirectory(String directory)
Sets the directory in which the dag needs to execute.
|
String |
toString()
Returns a textual description of the DAG Job.
|
addCredentialType, addCredentialType, addInputFile, addNotification, addNotifications, addNotifications, addOutputFile, addProfile, computeRuntime, equals, getArguments, getCompleteDVName, getCompleteTCName, getCredentialTypes, getDAXID, getDOTColor, getDVName, getDVNamespace, getDVVersion, getGridGatewayJobType, getID, getInputFiles, getJobManager, getJobType, getJobTypeDescription, getJobTypeDescription, getLevel, getLogicalID, getName, getNotifications, getNotifications, getOutputFiles, getPreScriptArguments, getPreScriptPath, getRemoteExecutable, getRuntime, getSiteHandle, getStagedExecutableBaseName, getStagedExecutableBaseName, getStagingSiteHandle, getStdErr, getStdIn, getStdOut, getTXName, getTXNamespace, getTXVersion, getUniverse, getVDSSuperNode, isMPIJob, mergeProfiles, resetCredentialTypes, resetNotifications, resetProfiles, runInWorkDirectory, setArguments, setDerivation, setDVName, setDVNamespace, setDVVersion, setExecutableStagingForJob, setInputFiles, setJobManager, setJobType, setLevel, setLogicalID, setName, setOutputFiles, setPreScript, setPreScript, setRemoteExecutable, setRuntime, setRuntime, setSiteHandle, setStagingSiteHandle, setStdErr, setStdIn, setStdOut, setTransformation, setTXName, setTXNamespace, setTXVersion, setTypeRecursive, setUniverse, setVDSSuperNode, toDOT, toDOT, typeInRange, typeRecursive, updateProfiles, updateProfiles, updateProfiles, updateProfiles, userExecutablesStagedForJob
setToString, vectorToString
public static final String JOB_PREFIX
private String mDAGLFN
private String mDAGFile
private String mDirectory
public DAGJob()
public DAGJob(Job job)
Job
job.job
- the original job description.public void setDAGLFN(String lfn)
lfn
- the LFN of the DAG file.public String getDAGLFN()
public void setDAGFile(String file)
file
- the path to the DAG file.public String getDAGFile()
public void setDirectory(String directory)
setDirectory
in class Job
directory
- the directory where dag needs to executepublic String getDirectory()
getDirectory
in class Job
public String generateName(String prefix)
prefix
- any prefix that needs to be applied while constructing the
job namepublic String toString()
Copyright © 2011 The University of Southern California. All Rights Reserved.