|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.code.gridstart.NoPOSTScript
public class NoPOSTScript
This class refers to having no postscript associated with the job. In addition, it removes from the job postscript specific arguments, and other profiles. The postscript is only constructed if the job already contains the Dagman profile key passed.
| Field Summary | |
|---|---|
protected LogManager |
mLogger
The LogManager object which is used to log all the messages. |
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus. |
static String |
SHORT_NAME
The SHORTNAME for this implementation. |
| Fields inherited from interface edu.isi.pegasus.planner.code.POSTScript |
|---|
VERSION |
| Constructor Summary | |
|---|---|
NoPOSTScript()
The default constructor. |
|
| Method Summary | |
|---|---|
boolean |
construct(Job job,
String key)
Constructs the postscript that has to be invoked on the submit host after the job has executed on the remote end. |
void |
initialize(PegasusProperties properties,
String path,
String submitDir)
Initialize the POSTScript implementation. |
String |
shortDescribe()
Returns a short textual description of the implementing class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SHORT_NAME
protected LogManager mLogger
protected PegasusProperties mProps
| Constructor Detail |
|---|
public NoPOSTScript()
| Method Detail |
|---|
public void initialize(PegasusProperties properties,
String path,
String submitDir)
initialize in interface POSTScriptproperties - the PegasusProperties object containing all
the properties required by Pegasus.path - the path to the POSTScript on the submit host.submitDir - the submit directory where the submit file for the job
has to be generated.public String shortDescribe()
shortDescribe in interface POSTScript
public boolean construct(Job job,
String key)
The postscript is constructed and populated as a profile in the DAGMAN namespace.
construct in interface POSTScriptjob - the Job object containing the job description
of the job that has to be enabled on the grid.key - the DAGMan profile key that has to be inserted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||