org.griphyn.cPlanner.selector.site
Class AbstractPerJob

java.lang.Object
  extended by org.griphyn.cPlanner.selector.site.Abstract
      extended by org.griphyn.cPlanner.selector.site.AbstractPerJob
All Implemented Interfaces:
SiteSelector
Direct Known Subclasses:
NonJavaCallout, Random, RoundRobin

public abstract class AbstractPerJob
extends Abstract

The base class for the site selectors that want to map one job at a time.

Version:
$Revision: 298 $
Author:
Karan Vahi

Field Summary
 
Fields inherited from class org.griphyn.cPlanner.selector.site.Abstract
mBag, mLogger, mProps, mSCHandle, mTCMapper
 
Fields inherited from interface org.griphyn.cPlanner.selector.SiteSelector
SITE_NOT_FOUND, VERSION
 
Constructor Summary
AbstractPerJob()
           
 
Method Summary
abstract  void mapJob(SubInfo job, List sites)
          Maps a job in the workflow to the various grid sites.
 void mapWorkflow(Graph workflow, List sites)
          Maps the jobs in the workflow to the various grid sites.
 
Methods inherited from class org.griphyn.cPlanner.selector.site.Abstract
initialize, mapWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.griphyn.cPlanner.selector.SiteSelector
description
 

Constructor Detail

AbstractPerJob

public AbstractPerJob()
Method Detail

mapWorkflow

public void mapWorkflow(Graph workflow,
                        List sites)
Maps the jobs in the workflow to the various grid sites.

Parameters:
workflow - the workflow in a Graph form.
sites - the list of String objects representing the execution sites that can be used.

mapJob

public abstract void mapJob(SubInfo job,
                            List sites)
Maps a job in the workflow to the various grid sites.

Parameters:
job - the job to be mapped.
sites - the list of String objects representing the execution sites that can be used.


Copyright © 2007 The University of Southern California. All Rights Reserved.