|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.Data
edu.isi.pegasus.planner.classes.Job
edu.isi.pegasus.planner.classes.DAXJob
public class DAXJob
This is a data class that stores the contents of the DAX job in a DAX conforming to schema 3.0 or higher.
| Field Summary | |
|---|---|
static String |
JOB_PREFIX
The prefix to be attached for the DAX jobs |
private String |
mDAXFile
The DAX File that the job refers to. |
private String |
mDAXLFN
The DAX LFN. |
private String |
mDirectory
The directory in which the DAX needs to execute. |
| Fields inherited from class edu.isi.pegasus.planner.classes.Job |
|---|
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 |
| Fields inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
DAXJob()
The default constructor. |
|
DAXJob(Job job)
The overloaded construct that constructs a DAX job by wrapping around the Job job. |
|
| Method Summary | |
|---|---|
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 |
getDAXFile()
Returns the DAXFile the job refers to. |
String |
getDAXLFN()
Returns the lfn for the DAXFile the job refers to. |
String |
getDirectory()
Returns the directory the job refers to. |
void |
setDAXFile(String file)
Sets the DAX file |
void |
setDAXLFN(String lfn)
Sets the DAX file LFN |
void |
setDirectory(String directory)
Sets the directory in which the dag needs to execute. |
String |
toString()
Returns a textual description of the DAX Job. |
| Methods inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String JOB_PREFIX
private String mDAXLFN
private String mDAXFile
private String mDirectory
| Constructor Detail |
|---|
public DAXJob()
public DAXJob(Job job)
Job job.
job - the original job description.| Method Detail |
|---|
public void setDAXLFN(String lfn)
lfn - the LFN of the DAX file.public String getDAXLFN()
public void setDAXFile(String file)
file - the path to the DAX file.public String getDAXFile()
public String generateName(String prefix)
prefix - any prefix that needs to be applied while constructing the
job name
public void setDirectory(String directory)
setDirectory in class Jobdirectory - the directory where dag needs to executepublic String getDirectory()
getDirectory in class Jobpublic String toString()
toString in class Jobpublic Object clone()
clone in class Job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||