public interface Callback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION
The version of the Callback api
|
Modifier and Type | Method and Description |
---|---|
void |
cbCompoundTransformation(CompoundTransformation compoundTransformation)
Callback when a compound transformation is encountered in the DAX from
Section 3: that lists Transformations that Aggregate executables and Files
|
void |
cbDocument(java.util.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
from Section 2: Executables that list entries in a Transformaton Catalog
|
void |
cbFile(ReplicaLocation rl)
Callback when a replica catalog entry is encountered in the DAX from
Section 1: Files that lists entries in a Replica Catalog
|
void |
cbJob(Job job)
Callback for the job from section 4: Job's, DAX's or Dag's that list
a JOB or DAX or DAG .
|
void |
cbParents(java.lang.String child,
java.util.List<PCRelation> parents)
Callback for child and parent relationships from Section 5: Dependencies
that lists Parent Child relationships (can be empty)
|
void |
cbWfInvoke(Invoke invoke)
Callback when a invoke is encountered in the DAX from the top level inside
adag tag.
|
java.lang.Object |
getConstructedObject()
Return a object that is constructed during the parsing of the object.
|
void |
initialize(PegasusBag bag,
java.lang.String dax)
The overloaded constructor.
|
static final java.lang.String VERSION
void initialize(PegasusBag bag, java.lang.String dax)
bag
- the bag of initialization objects containing the properties
and the loggerdax
- the path to the DAX file.java.lang.Object getConstructedObject()
void cbDocument(java.util.Map attributes)
attributes
- is a map of attribute key to attribute valuevoid cbWfInvoke(Invoke invoke)
invoke
- the invoke objectvoid cbFile(ReplicaLocation rl)
rl
- the ReplicaLocation objectvoid cbExecutable(TransformationCatalogEntry tce)
tce
- the transformationc catalog entry object.void cbCompoundTransformation(CompoundTransformation compoundTransformation)
compoundTransformation
- the compound transforamtionvoid cbJob(Job job)
job
- is the DAX-style job.void cbParents(java.lang.String child, java.util.List<PCRelation> parents)
child
- is the IDREF of the child element.parents
- is a list of edjes denoted by PCRelation object.void cbDone()