| java.lang.Object org.griphyn.cPlanner.engine.Engine
All known Subclasses: org.griphyn.cPlanner.engine.ReductionEngine, org.griphyn.cPlanner.engine.NodeCollapser, org.griphyn.cPlanner.engine.ReplicaCatalogBridge, org.griphyn.cPlanner.engine.MainEngine, org.griphyn.cPlanner.engine.RemoveDirectory, org.griphyn.cPlanner.engine.TransferEngine, org.griphyn.cPlanner.engine.InterPoolEngine, org.griphyn.cPlanner.engine.CreateDirectory, org.griphyn.cPlanner.engine.AuthenticateEngine, org.griphyn.cPlanner.engine.CleanupEngine,
Engine | abstract public class Engine (Code) | | The class which is a superclass of all the various Engine classes. It
defines common methods and member variables.
author: Karan Vahi author: Gaurang Mehta version: $Revision: 243 $ |
Method Summary | |
public Vector | addVector(Vector from_vector, Vector to_vector) Adds elements (PegasusFile type) in a Vector to another Vector and
returns the new Vector. | public void | appendArrayList(ArrayList dest, ArrayList source) It appends the source list at the end of the destination list. | public void | loadProperties() Loads all the properties that are needed by the Engine classes. | public void | printVector(String heading, Vector vector) It prints the contents of the Vector, with the first line being the heading. | public boolean | stringInList(String stringName, List list) | public boolean | stringInPegVector(String stringName, Vector vector) Returns true if a particular String is in the Vector of PegasusFile objects. | public boolean | stringInVector(String stringName, Vector vector) Returns true if a particular String is in the Vector of strings.
Parameters: stringName - the String which has to be searched for in the Vector. Parameters: vector - the Vector of Strings in which to search for aparticular String. | public String | vectorToString(String heading, Vector vector) It prints the contents of the Vector, to a String with the first line being
the heading.
Parameters: heading - The heading you want to give to the text which is printed. Parameters: vector - The Vector whose elements you want to print. |
REGISTRATION_UNIVERSE | final public static String REGISTRATION_UNIVERSE(Code) | | |
TRANSFER_UNIVERSE | final public static String TRANSFER_UNIVERSE(Code) | | |
mLogMsg | protected String mLogMsg(Code) | | Contains the message which is to be logged by Pegasus.
|
mOutputPool | protected static String mOutputPool(Code) | | The pool on which all the output data should be transferred.
|
mPOptions | protected PlannerOptions mPOptions(Code) | | Contains the various options to the Planner as passed by the user at
runtime.
|
mPoolClass | protected String mPoolClass(Code) | | Specifies the implementing class for the pool interface. Contains
the name of the class that implements the pool interface the
user has asked at runtime.
|
mPoolFile | protected String mPoolFile(Code) | | The path to the file containing the pool information. By default it is
$PEGASUS_HOME/etc/pool.config
|
mPoolHandle | protected PoolInfoProvider mPoolHandle(Code) | | The handle to the Pool Info Provider. It is instantiated in this class
|
mRLIUrl | protected String mRLIUrl(Code) | | The Replica Location Index URL got from vds.rls.url property
|
mTCFile | protected String mTCFile(Code) | | The path to the file containing the pool information. By default it is
$PEGASUS_HOME/etc/tc.data.
|
mTCHandle | protected TransformationCatalog mTCHandle(Code) | | The handle to the Transformation Catalog. It must be instantiated
in the implementing class.
|
Engine | public Engine(PegasusProperties props)(Code) | | Default constructor.
Parameters: props - the properties to be used. |
addVector | public Vector addVector(Vector from_vector, Vector to_vector)(Code) | | Adds elements (PegasusFile type) in a Vector to another Vector and
returns the new Vector.
Parameters: from_vector - the source Parameters: to_vector - the destination Vector of PegasusFile objects |
appendArrayList | public void appendArrayList(ArrayList dest, ArrayList source)(Code) | | It appends the source list at the end of the destination list.
Parameters: dest - the destination list Parameters: source - the source list |
loadProperties | public void loadProperties()(Code) | | Loads all the properties that are needed by the Engine classes.
|
printVector | public void printVector(String heading, Vector vector)(Code) | | It prints the contents of the Vector, with the first line being the heading.
Parameters: heading - The heading you want to give to the text which is printed. Parameters: vector - The Vector whose elements you want to print. |
stringInPegVector | public boolean stringInPegVector(String stringName, Vector vector)(Code) | | Returns true if a particular String is in the Vector of PegasusFile objects.
Parameters: stringName - the String which has to be searched for in the Vector. Parameters: vector - the Vector of Strings in which to search for a particularString boolean on the basis of whether the String in Vector or not. |
stringInVector | public boolean stringInVector(String stringName, Vector vector)(Code) | | Returns true if a particular String is in the Vector of strings.
Parameters: stringName - the String which has to be searched for in the Vector. Parameters: vector - the Vector of Strings in which to search for aparticular String. boolean on the basis of whether the String in Vector or not. |
vectorToString | public String vectorToString(String heading, Vector vector)(Code) | | It prints the contents of the Vector, to a String with the first line being
the heading.
Parameters: heading - The heading you want to give to the text which is printed. Parameters: vector - The Vector whose elements you want to print. String |
|
|