|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.refiner.Engine
public abstract class Engine
The class which is a superclass of all the various Engine classes. It defines common methods and member variables.
| Field Summary | |
|---|---|
protected PegasusBag |
mBag
The bag of initialization objects |
protected LogManager |
mLogger
The logging object which is used to log all the messages. |
protected String |
mLogMsg
Contains the message which is to be logged by Pegasus. |
protected static String |
mOutputPool
The pool on which all the output data should be transferred. |
protected String |
mPoolFile
The path to the file containing the pool information. |
protected PlannerOptions |
mPOptions
Contains the various options to the Planner as passed by the user at runtime. |
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus. |
protected String |
mRLIUrl
The Replica Location Index URL got from vds.rls.url property |
protected SiteStore |
mSiteStore
The handle to the Pool Info Provider. |
protected String |
mTCFile
The path to the file containing the pool information. |
protected TransformationCatalog |
mTCHandle
The handle to the Transformation Catalog. |
protected String |
mTCMode
Defines the read mode for transformation catalog. |
static String |
REGISTRATION_UNIVERSE
|
static String |
TRANSFER_UNIVERSE
|
| Constructor Summary | |
|---|---|
Engine(PegasusBag bag)
A pratically nothing constructor ! |
|
| Method Summary | |
|---|---|
Vector |
addVector(Vector from_vector,
Vector to_vector)
Adds elements (PegasusFile type) in a Vector to another Vector and returns the new Vector. |
void |
appendArrayList(ArrayList dest,
ArrayList source)
It appends the source list at the end of the destination list. |
void |
loadProperties()
Loads all the properties that are needed by the Engine classes. |
void |
printVector(String heading,
Vector vector)
It prints the contents of the Vector, with the first line being the heading. |
boolean |
stringInList(String stringName,
List list)
|
boolean |
stringInPegVector(String stringName,
Vector vector)
Returns true if a particular String is in the Vector of PegasusFile objects. |
boolean |
stringInVector(String stringName,
Vector vector)
Returns true if a particular String is in the Vector of strings. |
String |
vectorToString(String heading,
Vector vector)
It prints the contents of the Vector, to a String with the first line being the heading. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REGISTRATION_UNIVERSE
public static final String TRANSFER_UNIVERSE
protected static String mOutputPool
protected PegasusProperties mProps
protected String mPoolFile
protected TransformationCatalog mTCHandle
protected String mTCFile
protected SiteStore mSiteStore
protected String mLogMsg
protected String mRLIUrl
protected String mTCMode
org.griphyn.common.catalog.transformation.TCModeprotected LogManager mLogger
protected PlannerOptions mPOptions
protected PegasusBag mBag
| Constructor Detail |
|---|
public Engine(PegasusBag bag)
bag - bag of initialization objects| Method Detail |
|---|
public void loadProperties()
public boolean stringInVector(String stringName,
Vector vector)
stringName - the String which has to be searched for in the Vector.vector - the Vector of Strings in which to search for a
particular String.
public boolean stringInList(String stringName,
List list)
public boolean stringInPegVector(String stringName,
Vector vector)
stringName - the String which has to be searched for in the Vector.vector - the Vector of Strings in which to search for a particular
String
public Vector addVector(Vector from_vector,
Vector to_vector)
from_vector - the sourceto_vector - the destination
public void printVector(String heading,
Vector vector)
heading - The heading you want to give to the text which is printed.vector - The Vector whose elements you want to print.
public String vectorToString(String heading,
Vector vector)
heading - The heading you want to give to the text which is printed.vector - The Vector whose elements you want to print.
public void appendArrayList(ArrayList dest,
ArrayList source)
dest - the destination listsource - the source list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||