|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CodeGenerator
The interface that allows us to plug in various code generators for writing out the concrete plan. Each of Code Generators are dependant upon the underlying workflow executors being used. A Code Generator implementation generates the concrete plan in the input format of the underlying Workflow Executor. The appropriate format can be condor submit files, or some XML description.
| Field Summary | |
|---|---|
static String |
VERSION
The version number associated with this API of Code Generator. |
| Method Summary | |
|---|---|
void |
generateCode(ADag dag)
Generates the code for the concrete workflow in the input format of the workflow executor being used. |
void |
generateCode(ADag dag,
SubInfo job)
Generates the code for a single job in the input format of the workflow executor being used. |
void |
initialize(PegasusBag bag)
Initializes the Code Generator implementation. |
void |
reset()
Resets the Code Generator implementation. |
boolean |
startMonitoring()
Starts monitoring of the workflow by invoking a workflow monitor daemon. |
| Field Detail |
|---|
static final String VERSION
| Method Detail |
|---|
void initialize(PegasusBag bag)
throws CodeGeneratorException
bag - the bag of initialization objects.
CodeGeneratorException - in case of any error occuring code generation.
void generateCode(ADag dag)
throws CodeGeneratorException
dag - the concrete workflow.
CodeGeneratorException - in case of any error occuring code generation.
void generateCode(ADag dag,
SubInfo job)
throws CodeGeneratorException
dag - the dag of which the job is a part of.job - the SubInfo object holding the information about
that particular job.
CodeGeneratorException - in case of any error occuring code generation.boolean startMonitoring()
void reset()
throws CodeGeneratorException
CodeGeneratorException - in case of any error occuring code generation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||