Interface WorkflowStrategy
-
- All Known Implementing Classes:
NodeFirstWorkflowStrategy,ParallelWorkflowStrategy,SequentialWorkflowStrategy
public interface WorkflowStrategyWorkflowStrategy interface performs the workflow execution and returns an ExecutionResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowStrategyProfilegetProfile()Profile for the workflowintgetThreadCount()voidsetup(RuleEngine ruleEngine, StepExecutionContext context, IWorkflow workflow)setup rule engineValidator.Reportvalidate(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:
-
-