public class ComplexWorkflowGround extends WorkflowStep
Constructor and Description |
---|
ComplexWorkflowGround(ComplexWorkflow parent)
creates a 'Ground' workflos step
|
Modifier and Type | Method and Description |
---|---|
void |
writedeclaration(SourceGenerator sg,
Module module,
java.lang.String parentclass,
java.lang.String lifecycleclass) |
void |
writeimport(SourceGenerator sg,
Module module)
writes the import for this workflow step
|
void |
writeNextSteps(SourceGenerator sg,
Module module)
a recursive method writing the source code for the next steps of the workflow
|
getParent, gettaskid, registerToParentWorkflow, setSequence
public ComplexWorkflowGround(ComplexWorkflow parent)
parent
- parent workflowpublic void writeimport(SourceGenerator sg, Module module) throws java.io.IOException
WorkflowStep
writeimport
in class WorkflowStep
sg
- sourcce generatormodule
- parent modulejava.io.IOException
- if anything bad happens in the workflowpublic void writedeclaration(SourceGenerator sg, Module module, java.lang.String parentclass, java.lang.String lifecycleclass) throws java.io.IOException
writedeclaration
in class WorkflowStep
java.io.IOException
public void writeNextSteps(SourceGenerator sg, Module module) throws java.io.IOException
WorkflowStep
writeNextSteps
in class WorkflowStep
sg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens in the workflow