Class MultipleLook.MyCallBackHandler
- java.lang.Object
-
- edu.isi.pegasus.planner.partitioner.MultipleLook.MyCallBackHandler
-
- All Implemented Interfaces:
org.griphyn.vdl.euryale.Callback
- Enclosing class:
- MultipleLook
private class MultipleLook.MyCallBackHandler extends java.lang.Object implements org.griphyn.vdl.euryale.CallbackThe internal callback handler for the DAXParser in Euryale. It only stores the jobs that are part of the dax, that are then populated into the internal ADAG object that is used to write out the dax file corresponding to the partition.
-
-
Constructor Summary
Constructors Constructor Description MyCallBackHandler()The empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcb_document(java.util.Map attributes)Callback when the opening tag was parsed.voidcb_done()Callback when the parsing of the document is done.voidcb_filename(org.griphyn.vdl.dax.Filename filename)Callback when the section 1 filenames are being parsed.voidcb_job(org.griphyn.vdl.dax.Job job)Callback for the job from section 2 jobs.voidcb_parents(java.lang.String child, java.util.List parents)Callback for child and parent relationships from section 3.
-
-
-
Method Detail
-
cb_document
public void cb_document(java.util.Map attributes)
Callback when the opening tag was parsed. The attribute maps each attribute to its raw value. The callback initializes the DAG writer.- Specified by:
cb_documentin interfaceorg.griphyn.vdl.euryale.Callback- Parameters:
attributes- is a map of attribute key to attribute value
-
cb_filename
public void cb_filename(org.griphyn.vdl.dax.Filename filename)
Description copied from interface:org.griphyn.vdl.euryale.CallbackCallback when the section 1 filenames are being parsed.- Specified by:
cb_filenamein interfaceorg.griphyn.vdl.euryale.Callback- Parameters:
filename- is a DAX-style filename elements.
-
cb_job
public void cb_job(org.griphyn.vdl.dax.Job job)
Description copied from interface:org.griphyn.vdl.euryale.CallbackCallback for the job from section 2 jobs. These jobs are completely assembled, but each is passed separately.- Specified by:
cb_jobin interfaceorg.griphyn.vdl.euryale.Callback- Parameters:
job- is the DAX-style job.
-
cb_parents
public void cb_parents(java.lang.String child, java.util.List parents)Description copied from interface:org.griphyn.vdl.euryale.CallbackCallback for child and parent relationships from section 3.- Specified by:
cb_parentsin interfaceorg.griphyn.vdl.euryale.Callback- Parameters:
child- is the IDREF of the child element.parents- is a list of IDREFs of the included parents.
-
cb_done
public void cb_done()
Description copied from interface:org.griphyn.vdl.euryale.CallbackCallback when the parsing of the document is done. While this state could also be determined from the return of the invocation of the parser, that return may be hidden in another place of the code. This callback can be used to free callback-specific resources.- Specified by:
cb_donein interfaceorg.griphyn.vdl.euryale.Callback
-
-