edu.isi.pegasus.planner.code.gridstart
public class NoPOSTScript extends Object implements POSTScript
Modifier and Type | Field and Description |
---|---|
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.
|
VERSION
Constructor and Description |
---|
NoPOSTScript()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String SHORT_NAME
protected LogManager mLogger
protected PegasusProperties mProps
public void initialize(PegasusProperties properties, String path, String submitDir)
initialize
in interface POSTScript
properties
- 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 POSTScript
job
- 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.