edu.isi.pegasus.planner.code
public interface GridStart
Modifier and Type | Field and Description |
---|---|
static char |
mSeparator
The File separator to be used on the submit host.
|
static String |
VERSION
The version number associated with this API of GridStart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSetXBit()
Indicates whether the enabling mechanism can set the X bit
on the executable on the remote grid site, in addition to launching
it on the remote grid stie
|
String |
defaultPOSTScript()
Returns the SHORT_NAME for the POSTScript implementation that is used
to be as default with this GridStart implementation.
|
boolean |
enable(AggregatedJob job,
boolean isGlobusJob)
Enables a job to run on the grid.
|
boolean |
enable(Job job,
boolean isGlobusJob)
Enables a job to run on the grid.
|
String |
getVDSKeyValue()
Returns the value of the vds profile with key as VDS.GRIDSTART_KEY,
that would result in the loading of this particular implementation.
|
String |
getWorkerNodeDirectory(Job job)
Returns the directory in which the job executes on the worker node.
|
void |
initialize(PegasusBag bag,
ADag dag)
Initializes the GridStart implementation.
|
String |
shortDescribe()
Returns a short textual description of the implementing class.
|
void |
useFullPathToGridStarts(boolean fullPath)
Setter method to control whether a full path to Gridstart should be
returned while wrapping a job or not.
|
static final String VERSION
static final char mSeparator
void initialize(PegasusBag bag, ADag dag)
bag
- the bag of objects that is used for initialization.dag
- the concrete dag so far.boolean enable(AggregatedJob job, boolean isGlobusJob)
job
- the Job
object containing the job description
of the job that has to be enabled on the grid.isGlobusJob
- is true
, if the job generated a
line universe = globus
, and thus runs remotely.
Set to false
, if the job runs on the submit
host in any way.boolean enable(Job job, boolean isGlobusJob)
job
- the Job
object containing the job description
of the job that has to be enabled on the grid.isGlobusJob
- is true
, if the job generated a
line universe = globus
, and thus runs remotely.
Set to false
, if the job runs on the submit
host in any way.void useFullPathToGridStarts(boolean fullPath)
fullPath
- if set to true, indicates that full path would be used.boolean canSetXBit()
String getWorkerNodeDirectory(Job job)
job
- String getVDSKeyValue()
org.griphyn.cPlanner.namespace.VDS#GRIDSTART_KEY
String shortDescribe()
String defaultPOSTScript()
POSTScript.shortDescribe()