01: package org.griphyn.cPlanner.engine;
02:
03: import org.griphyn.cPlanner.classes.ADag;
04:
05: import org.griphyn.cPlanner.provenance.pasoa.XMLProducer;
06:
07: /**
08: * A first cut at a separate refiner interface. Right now it only has method
09: * required for the PASOA integration.
10: *
11: * @author Karan Vahi
12: * @version $Revision: 251 $
13: */
14: public interface Refiner {
15:
16: /**
17: * The version of the API.
18: */
19: public static final String VERSION = "1.0";
20:
21: /**
22: * Returns a reference to the workflow that is being refined by the refiner.
23: *
24: *
25: * @return ADAG object.
26: */
27: public ADag getWorkflow();
28:
29: /**
30: * Returns a reference to the XMLProducer, that generates the XML fragment
31: * capturing the actions of the refiner. This is used for provenace
32: * purposes.
33: *
34: * @return XMLProducer
35: */
36: public XMLProducer getXMLProducer();
37:
38: }
|