Interface WorkflowStrategyProfile
-
- All Known Implementing Classes:
EngineWorkflowExecutor.BaseProfile,SequentialStrategyProfile
public interface WorkflowStrategyProfileDefines how steps in the workflow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateObjgetInitialStateForStep(int stepNum, WorkflowExecutionItem item, boolean isFirstStep)Get initial state values added to context for this stepjava.util.Set<Condition>getSkipConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)java.util.Set<Condition>getStartConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)Get the condition set to trigger the step to start
-
-
-
Method Detail
-
getInitialStateForStep
StateObj getInitialStateForStep(int stepNum, WorkflowExecutionItem item, boolean isFirstStep)
Get initial state values added to context for this step- Parameters:
stepNum- step numberitem- workflowisFirstStep- is first step in the workflow- Returns:
- initial state
-
getStartConditionsForStep
java.util.Set<Condition> getStartConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)
Get the condition set to trigger the step to start- Parameters:
item- stepstepNum- step numberisFirstStep- true if it is the first step in the workflow- Returns:
- start conditions for the step
-
getSkipConditionsForStep
java.util.Set<Condition> getSkipConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)
- Parameters:
item- stepstepNum- step numberisFirstStep- true if it is the first step in the workflow- Returns:
- skip conditions for the step
-
-