edu.isi.pegasus.planner.catalog.transformation.mapper
Class Submit

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.transformation.Mapper
      extended by edu.isi.pegasus.planner.catalog.transformation.mapper.Submit

public class Submit
extends Mapper

This implementation of the TCMapper returns a TCMap which only contains Stageable executables from the Local site.

Version:
$Revision: 2638 $
Author:
Gaurang Mehta

Field Summary
 
Fields inherited from class edu.isi.pegasus.planner.catalog.transformation.Mapper
mLogger, mProps, mSiteStore, mTCHandle, mTCMap, PACKAGE_NAME
 
Constructor Summary
Submit(PegasusBag bag)
          The protected constructor.
 
Method Summary
 String getMode()
          Returns the TCMapper Mode.
 Map getSiteMap(String namespace, String name, String version, List siteids)
          This method returns a Map of compute sites to List of TransformationCatalogEntry objects that are valid for that site
 
Methods inherited from class edu.isi.pegasus.planner.catalog.transformation.Mapper
getSiteList, getTCList, isSiteValid, isStageableMapper, loadTCMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Submit

public Submit(PegasusBag bag)
The protected constructor.

Parameters:
bag - the bag of initialization objects
Method Detail

getSiteMap

public Map getSiteMap(String namespace,
                      String name,
                      String version,
                      List siteids)
This method returns a Map of compute sites to List of TransformationCatalogEntry objects that are valid for that site

Specified by:
getSiteMap in class Mapper
Parameters:
namespace - String The namespace of the logical transformation
name - String The name of the logical transformation
version - String The version of the logical transformation
siteids - List The sites for which you want the map.
Returns:
Map Key=String SiteId , Values = List of TransformationCatalogEntry object. null if no entries are found.

getMode

public String getMode()
Description copied from class: Mapper
Returns the TCMapper Mode.

Specified by:
getMode in class Mapper
Returns:
String


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