E
- data object the worfklow is aboutF
- transition choice used for the lifecycle of the objectpublic abstract class SwitchComplexWorkflowStep<E extends DataObject<E> & LifecycleInterface<E,F>,F extends TransitionFieldChoiceDefinition<F>> extends ComplexWorkflowStep<E,F>
Constructor and Description |
---|
SwitchComplexWorkflowStep()
creates a swich complex workflow
|
Modifier and Type | Method and Description |
---|---|
void |
execute(DataObjectId<Workflow> workflowid,
E object,
ComplexWorkflowHelper<E,F> workflowhelper)
executes the workflow step
|
abstract ComplexWorkflowStep<E,F> |
getstepselection(DataObjectId<Workflow> workflowid,
E object)
gets the step to select next depending on context.
|
public SwitchComplexWorkflowStep()
public abstract ComplexWorkflowStep<E,F> getstepselection(DataObjectId<Workflow> workflowid, E object)
workflowid
- id of the workflowobject
- data objectpublic void execute(DataObjectId<Workflow> workflowid, E object, ComplexWorkflowHelper<E,F> workflowhelper)
ComplexWorkflowStep
execute
in class ComplexWorkflowStep<E extends DataObject<E> & LifecycleInterface<E,F>,F extends TransitionFieldChoiceDefinition<F>>
workflowid
- id of the workflowobject
- object that is the subject of the workflowworkflowhelper
- the workflow helper task