|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GridStart
The interface that defines how a job specified in the abstract workflow is launched on the grid. This allows to specify different ways to wrap an executable while running on the grid. One may do this, to gather additional information about the job like provenance information. If the implementation returns true for canSetXBit, then it should be setting the X bit for the staged compute jobs.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final String VERSION
static final char mSeparator
| Method Detail |
|---|
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_KEYString shortDescribe()
String defaultPOSTScript()
POSTScript.shortDescribe()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||