| org.griphyn.cPlanner.code.GridStart
All known Subclasses: org.griphyn.cPlanner.code.gridstart.NoGridStart, org.griphyn.cPlanner.code.gridstart.Kickstart,
GridStart | public interface GridStart (Code) | | 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.
author: Karan Vahi vahi@isi.edu version: $Revision: 410 $ |
Field Summary | |
final public static String | VERSION The version number associated with this API of GridStart. | public static char | mSeparator The File separator to be used on the submit host. |
Method Summary | |
public boolean | canSetXBit() | public String | defaultPOSTScript() Returns the SHORT_NAME for the POSTScript implementation that is used
to be as default with this GridStart implementation. | public AggregatedJob | enable(AggregatedJob aggJob, Collection jobs) Enables a collection of jobs and puts them into an AggregatedJob.
The assumption here is that all the jobs are being enabled by the same
implementation. | public boolean | enable(SubInfo job, boolean isGlobusJob) Enables a job to run on the grid. | public 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. | public void | initialize(PegasusBag bag, ADag dag) Initializes the GridStart implementation. | public String | shortDescribe() Returns a short textual description of the implementing class. |
VERSION | final public static String VERSION(Code) | | The version number associated with this API of GridStart.
|
mSeparator | public static char mSeparator(Code) | | The File separator to be used on the submit host.
|
canSetXBit | public boolean canSetXBit()(Code) | | 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
boolean indicating whether can set the X bit or not. |
defaultPOSTScript | public String defaultPOSTScript()(Code) | | Returns the SHORT_NAME for the POSTScript implementation that is used
to be as default with this GridStart implementation.
the id for the POSTScript. See Also: POSTScript.shortDescribe |
enable | public AggregatedJob enable(AggregatedJob aggJob, Collection jobs)(Code) | | Enables a collection of jobs and puts them into an AggregatedJob.
The assumption here is that all the jobs are being enabled by the same
implementation. It is upto the implementation to determine whether it
wants to return a new AggregatedJob by cloning the one passed or just
modify the one passed to it.
Parameters: aggJob - the AggregatedJob into which the collection has to beintegrated. Parameters: jobs - the collection of jobs (SubInfo) that need to be enabled. the AggregatedJob containing the enabled jobs. See Also: GridStart.enable(SubInfo,boolean) |
enable | public boolean enable(SubInfo job, boolean isGlobusJob)(Code) | | Enables a job to run on the grid. This also determines how the
stdin,stderr and stdout of the job are to be propogated.
To grid enable a job, the job may need to be wrapped into another
job, that actually launches the job. It usually results in the job
description passed being modified modified.
Parameters: job - the SubInfo object containing the job descriptionof the job that has to be enabled on the grid. Parameters: isGlobusJob - is true , if the job generated aline universe = globus , and thus runs remotely.Set to false , if the job runs on the submithost in any way. boolean true if enabling was successful,else false. |
getVDSKeyValue | public String getVDSKeyValue()(Code) | | Returns the value of the vds profile with key as VDS.GRIDSTART_KEY,
that would result in the loading of this particular implementation.
It is usually the name of the implementing class without the
package name.
the value of the profile key. See Also: org.griphyn.cPlanner.namespace.VDS.GRIDSTART_KEY |
initialize | public void initialize(PegasusBag bag, ADag dag)(Code) | | Initializes the GridStart implementation.
Parameters: bag - the bag of objects that is used for initialization. Parameters: dag - the concrete dag so far. |
shortDescribe | public String shortDescribe()(Code) | | Returns a short textual description of the implementing class.
Should usually be the name of the implementing class.
short textual description. |
|
|