edu.isi.pegasus.planner.parser.dax
| Modifier and Type | Field and Description |
|---|---|
private boolean |
mDone |
| Constructor and Description |
|---|
ExampleDAXCallback(PegasusProperties properties,
String dax)
The overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cbCompoundTransformation(CompoundTransformation compoundTransformation)
Callback when a compound transformation is encountered in the DAX
|
void |
cbDocument(Map attributes)
Callback when the opening tag was parsed.
|
void |
cbDone()
Callback when the parsing of the document is done.
|
void |
cbExecutable(TransformationCatalogEntry tce)
Callback when a transformation catalog entry is encountered in the DAX
|
void |
cbFile(ReplicaLocation rl)
Callback when a replica catalog entry is encountered in the DAX
|
void |
cbJob(Job job)
Callback for the job from section 2 jobs.
|
void |
cbParents(String child,
List parents)
Callback for child and parent relationships from section 3.
|
void |
cbWfInvoke(Invoke invoke)
Callback when a invoke entry is encountered in the top level inside the adag element in the DAX.
|
Object |
getConstructedObject()
Returns an ADag object corresponding to the abstract plan it has generated.
|
public ExampleDAXCallback(PegasusProperties properties, String dax)
properties - the properties passed to the planner.dax - the path to the DAX file.public void cbDocument(Map attributes)
cbDocument in interface Callbackattributes - is a map of attribute key to attribute valuepublic void cbWfInvoke(Invoke invoke)
cbWfInvoke in interface Callbackinvoke - the invoke objectpublic void cbJob(Job job)
public void cbParents(String child, List parents)
public void cbDone()
public Object getConstructedObject()
getConstructedObject in interface Callbackpublic void cbCompoundTransformation(CompoundTransformation compoundTransformation)
cbCompoundTransformation in interface CallbackcompoundTransformation - the compound transforamtionpublic void cbFile(ReplicaLocation rl)
public void cbExecutable(TransformationCatalogEntry tce)
cbExecutable in interface Callbacktce - the transformationc catalog entry object.