com.dtolabs.rundeck.core.execution.workflow
Class StepFirstWorkflowStrategy

java.lang.Object
  extended by com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy
      extended by com.dtolabs.rundeck.core.execution.workflow.StepFirstWorkflowStrategy
All Implemented Interfaces:
WorkflowExecutor, WorkflowStrategy

public class StepFirstWorkflowStrategy
extends BaseWorkflowStrategy

StepFirstWorkflowStrategy iterates over the workflow steps and dispatches each one to all nodes matching the filter. This strategy is used either for an entire workflow and set of multiple nodes OR by the NodeFirstWorkflowStrategy as the inner loop over a single node.

The WorkflowExecutionResult will contain as the resultSet a map of Node name to


Field Summary
 
Fields inherited from interface com.dtolabs.rundeck.core.execution.workflow.WorkflowStrategy
NODE_FIRST, STEP_FIRST
 
Constructor Summary
StepFirstWorkflowStrategy(Framework framework)
           
 
Method Summary
 WorkflowExecutionResult executeWorkflowImpl(StepExecutionContext executionContext, WorkflowExecutionItem item)
           
 
Methods inherited from class com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy
convertFailures, executeWFItem, executeWorkflow, executeWorkflowItemsForNodeSet, executeWorkflowItemsForNodeSet, getWorkflowListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepFirstWorkflowStrategy

public StepFirstWorkflowStrategy(Framework framework)
Method Detail

executeWorkflowImpl

public WorkflowExecutionResult executeWorkflowImpl(StepExecutionContext executionContext,
                                                   WorkflowExecutionItem item)
Specified by:
executeWorkflowImpl in class BaseWorkflowStrategy