org.griphyn.common.catalog.transformation.mapper
Class All

java.lang.Object
  extended by org.griphyn.common.catalog.transformation.Mapper
      extended by org.griphyn.common.catalog.transformation.mapper.All

public class All
extends Mapper

This implementation of the mapper generates maps for sites with installed as well as stageable transformations.

Version:
$Revision: 50 $
Author:
Gaurang Mehta

Field Summary
 
Fields inherited from class org.griphyn.common.catalog.transformation.Mapper
mLogger, mPoolHandle, mProps, mTCHandle, mTCMap, PACKAGE_NAME
 
Constructor Summary
All()
           
 
Method Summary
 String getMode()
          Returns the mode description.
 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 org.griphyn.common.catalog.transformation.Mapper
getSiteList, getTCList, isSiteValid, loadTCMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

All

public All()
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. Returns null if no entries are found.

getMode

public String getMode()
Returns the mode description.

Specified by:
getMode in class Mapper
Returns:
String


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