Class TCMode
- java.lang.Object
-
- edu.isi.pegasus.planner.catalog.transformation.TCMode
-
public class TCMode extends java.lang.ObjectThis class defines all the constants referring to the various interfaces to the transformation catalog, and used by the Concrete Planner.- Version:
- $Revision$
- Author:
- Gaurang Mehta
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_TC_CLASSprivate static LogManagermLoggerstatic java.lang.StringMULTIPLE_READstatic java.lang.StringOLDFILE_TC_CLASSstatic java.lang.StringPACKAGE_NAMEDefault PACKAGE PATH for the TC implementing classesstatic java.lang.StringSINGLE_READConstants for backward compatibility.
-
Constructor Summary
Constructors Constructor Description TCMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringgetImplementingClass(java.lang.String tcmode)This method just checks and gives the correct classname if a user provides the classname in a different case.static TransformationCatalogloadInstance()The overloaded method which is to be used internally in Pegasus.static TransformationCatalogloadInstance(java.lang.String tcClass, java.lang.Object[] args)Loads the appropriate TC implementing Class with the given arguments.
-
-
-
Field Detail
-
SINGLE_READ
public static final java.lang.String SINGLE_READ
Constants for backward compatibility.- See Also:
- Constant Field Values
-
MULTIPLE_READ
public static final java.lang.String MULTIPLE_READ
- See Also:
- Constant Field Values
-
OLDFILE_TC_CLASS
public static final java.lang.String OLDFILE_TC_CLASS
- See Also:
- Constant Field Values
-
DEFAULT_TC_CLASS
public static final java.lang.String DEFAULT_TC_CLASS
- See Also:
- Constant Field Values
-
PACKAGE_NAME
public static final java.lang.String PACKAGE_NAME
Default PACKAGE PATH for the TC implementing classes- See Also:
- Constant Field Values
-
mLogger
private static LogManager mLogger
-
-
Method Detail
-
getImplementingClass
private static java.lang.String getImplementingClass(java.lang.String tcmode)
This method just checks and gives the correct classname if a user provides the classname in a different case.- Parameters:
tcmode- String- Returns:
- String
-
loadInstance
public static TransformationCatalog loadInstance()
The overloaded method which is to be used internally in Pegasus.- Returns:
- TCMechanism
-
loadInstance
public static TransformationCatalog loadInstance(java.lang.String tcClass, java.lang.Object[] args)
Loads the appropriate TC implementing Class with the given arguments.- Parameters:
tcClass- Stringargs- String[]- Returns:
- TCMechanism
-
-