| org.griphyn.cPlanner.selector.SiteSelector
All known Subclasses: org.griphyn.cPlanner.selector.site.Abstract,
SiteSelector | public interface SiteSelector (Code) | | The interface for the Site Selector. Allows us to maps the workflows
to different sites.
author: Karan Vahi author: Jens-S. Vöckler author: Gaurang Mehta version: $Revision: 299 $ |
Field Summary | |
final public static String | SITE_NOT_FOUND The value for the pool handle, when the pool is not found. | final public static String | VERSION The version of the API of the Site Selector. |
Method Summary | |
public String | description() This method returns a String describing the site selection technique
that is being implemented by the implementing class. | public void | initialize(PegasusBag bag) Initializes the site selector. | public void | mapWorkflow(Graph workflow, List sites) Maps the jobs in the workflow to the various grid sites. | public void | mapWorkflow(ADag workflow, List sites) Maps the jobs in the workflow to the various grid sites. |
SITE_NOT_FOUND | final public static String SITE_NOT_FOUND(Code) | | The value for the pool handle, when the pool is not found.
|
VERSION | final public static String VERSION(Code) | | The version of the API of the Site Selector.
|
description | public String description()(Code) | | This method returns a String describing the site selection technique
that is being implemented by the implementing class.
a short description |
initialize | public void initialize(PegasusBag bag)(Code) | | Initializes the site selector.
Parameters: bag - the bag of objects that is useful for initialization. |
mapWorkflow | public void mapWorkflow(Graph workflow, List sites)(Code) | | Maps the jobs in the workflow to the various grid sites.
The jobs are mapped by setting the site handle for the jobs.
Parameters: workflow - the workflow in a Graph form. Parameters: sites - the list of String objects representing theexecution sites that can be used. |
mapWorkflow | public void mapWorkflow(ADag workflow, List sites)(Code) | | Maps the jobs in the workflow to the various grid sites.
The jobs are mapped by setting the site handle for the jobs.
Parameters: workflow - the workflow. Parameters: sites - the list of String objects representing theexecution sites that can be used. |
|
|