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

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

public class Installed
extends Mapper

This class only generates maps for sites with installed transformations.

Version:
$Revision: 2636 $
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
Installed(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

Installed

public Installed(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.