edu.isi.pegasus.planner.catalog.transformation.impl
Class Abstract
java.lang.Object
edu.isi.pegasus.planner.catalog.transformation.impl.Abstract
- All Implemented Interfaces:
- Catalog, TransformationCatalog
- Direct Known Subclasses:
- File, Text
public abstract class Abstract
- extends Object
- implements TransformationCatalog
An abstract base class that provides useful methods for all the
TransformationCatalog Implementations to use.
- Version:
- $Revision: 2728 $
- Author:
- Karan Vahi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.isi.pegasus.planner.catalog.TransformationCatalog |
addLFNProfile, addPFNProfile, clear, deleteLFNProfiles, deletePFNProfiles, getContents, getDescription, getTCLogicalNames, initialize, insert, insert, insert, insert, lookup, lookup, lookupLFNProfiles, lookupNoProfiles, lookupPFNProfiles, lookupSites, removeByLFN, removeByPFN, removeBySiteID, removeBySysInfo, removeByType |
Abstract
public Abstract()
modifyForFileURLS
public static TransformationCatalogEntry modifyForFileURLS(TransformationCatalogEntry entry)
- Modifies a Transformation Catalog Entry to handle file URL's.
A file URL if specified for the physical path is converted to an
absolute path if the type of entry is set to INSTALLED.
Alternately it modifies the TC to handle absolute file paths by converting
them to file URL if the type of entry is set to STAGEABLE.
- Parameters:
entry - the transformation catalog entry object.
- Returns:
- the TransformationCatalogEntry object.
modifyForFileURLS
public static String modifyForFileURLS(String pfn,
String type)
- Modifies a Transformation Catalog Entry to handle file URL's.
A file URL if specified for the physical path is converted to an
absolute path if the type of entry is set to INSTALLED.
Alternately it modifies the TC to handle absolute file paths by converting
them to file URL if the type of entry is set to STAGEABLE.
- Parameters:
pfn - The PFN to modifytype - The type of PFN
- Returns:
- the Transformed PFN.
Copyright © 2011 The University of Southern California. All Rights Reserved.