Class ParallelWorkflowStrategy
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.ParallelWorkflowStrategy
-
- All Implemented Interfaces:
WorkflowStrategy
public class ParallelWorkflowStrategy extends java.lang.Object implements WorkflowStrategy
Created by greg on 5/5/16.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROVIDER_NAME
-
Constructor Summary
Constructors Constructor Description ParallelWorkflowStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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
public int getThreadCount()
- Specified by:
getThreadCountin interfaceWorkflowStrategy- Returns:
- appropriate threadcount for step execution, anything 0 or less indicates as many threads as needed
-
setup
public void setup(RuleEngine ruleEngine, StepExecutionContext context, IWorkflow workflow)
Description copied from interface:WorkflowStrategysetup rule engine- Specified by:
setupin interfaceWorkflowStrategy
-
validate
public Validator.Report validate(IWorkflow workflow)
Description copied from interface:WorkflowStrategyValidate configuration values in the context of the workflow- Specified by:
validatein interfaceWorkflowStrategy- Parameters:
workflow- workflow input- Returns:
- report of any input property validation errors
-
getProfile
public WorkflowStrategyProfile getProfile()
Description copied from interface:WorkflowStrategyProfile for the workflow- Specified by:
getProfilein interfaceWorkflowStrategy- Returns:
-
-