Interface WorkflowStrategy
-
- All Known Implementing Classes:
NodeFirstWorkflowStrategy
,ParallelWorkflowStrategy
,SequentialWorkflowStrategy
public interface WorkflowStrategy
WorkflowStrategy interface performs the workflow execution and returns an ExecutionResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowStrategyProfile
getProfile()
Profile for the workflowint
getThreadCount()
void
setup(RuleEngine ruleEngine, StepExecutionContext context, IWorkflow workflow)
setup rule engineValidator.Report
validate(IWorkflow workflow)
Validate configuration values in the context of the workflow
-
-
-
Method Detail
-
getThreadCount
int getThreadCount()
- Returns:
- appropriate threadcount for step execution, anything 0 or less indicates as many threads as needed
-
setup
void setup(RuleEngine ruleEngine, StepExecutionContext context, IWorkflow workflow)
setup rule engine- Parameters:
ruleEngine
-
-
validate
Validator.Report validate(IWorkflow workflow)
Validate configuration values in the context of the workflow- Parameters:
workflow
- workflow input- Returns:
- report of any input property validation errors
-
getProfile
WorkflowStrategyProfile getProfile()
Profile for the workflow- Returns:
-
-