edu.isi.pegasus.planner.selector
Class TransformationSelector
java.lang.Object
edu.isi.pegasus.planner.selector.TransformationSelector
- Direct Known Subclasses:
- Installed, Random, RoundRobin, Staged, Submit
public abstract class TransformationSelector
- extends Object
|
Method Summary |
abstract List |
getTCEntry(List tcentries)
Takes a list of TransformationCatalogEntry objects and returns 1 or many
TransformationCatalogEntry objects as a list depending on the type of selection algorithm. |
static TransformationSelector |
loadTXSelector(String className)
Loads the implementing class corresponding to the mode specified by the
user at runtime in the properties file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PACKAGE_NAME
public static final String PACKAGE_NAME
- See Also:
- Constant Field Values
mLogger
protected LogManager mLogger
TransformationSelector
public TransformationSelector()
getTCEntry
public abstract List getTCEntry(List tcentries)
- Takes a list of TransformationCatalogEntry objects and returns 1 or many
TransformationCatalogEntry objects as a list depending on the type of selection algorithm.
The Random and RoundRobin implementation ensure that only one entry is
returned and should be run last when chaining multiple selectors
- Parameters:
tcentries - List
- Returns:
- List
loadTXSelector
public static TransformationSelector loadTXSelector(String className)
throws FactoryException
- Loads the implementing class corresponding to the mode specified by the
user at runtime in the properties file.
- Parameters:
className - String The name of the class that implements the mode.
It is the name of the class, not the complete name with
package. That is added by itself.
- Returns:
- TransformationSelector
- Throws:
FactoryException - that nests any error that
might occur during the instantiation of the implementation.
Copyright © 2011 The University of Southern California. All Rights Reserved.