public abstract class SwitchCondition
extends java.lang.Object
Constructor and Description |
---|
SwitchCondition() |
Modifier and Type | Method and Description |
---|---|
abstract void |
writedeclaration(SourceGenerator sg,
Module module,
java.lang.String parentclass,
java.lang.String lifecycleclass,
java.lang.String taskvariable) |
abstract void |
writeimport(SourceGenerator sg,
Module module)
write the imports for the switch condition
|
abstract void |
writeNextSteps(SourceGenerator sg,
Module module,
java.lang.String switchtaskcode) |
public abstract void writeimport(SourceGenerator sg, Module module) throws java.io.IOException
sg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens during the code generationpublic abstract void writedeclaration(SourceGenerator sg, Module module, java.lang.String parentclass, java.lang.String lifecycleclass, java.lang.String taskvariable) throws java.io.IOException
sg
- source generatormodule
- parent moduleparentclass
- parent workflow classlifecycleclass
- parent object lifecycle classtaskvariable
- the name of the task variable field in the workflow
codejava.io.IOException
- if anything bad happens during the code generationpublic abstract void writeNextSteps(SourceGenerator sg, Module module, java.lang.String switchtaskcode) throws java.io.IOException
sg
- source generatormodule
- parent moduleswitchtaskcode
- unique code of the taskjava.io.IOException
- if anything bad happens during the code generation