public interface POSTScript
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION
The version number associated with this API of GridStart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
construct(Job job,
java.lang.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,
java.lang.String path,
java.lang.String submitDir)
Initialize the POSTScript implementation.
|
java.lang.String |
shortDescribe()
Returns a short textual description of the implementing class.
|
static final java.lang.String VERSION
void initialize(PegasusProperties properties, java.lang.String path, java.lang.String submitDir)
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.boolean construct(Job job, java.lang.String key)
The postscript should be constructed and populated as a profile in the DAGMAN namespace.
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.java.lang.String shortDescribe()