public class ParallelWorkflowStrategy extends BaseWorkflowStrategy
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DATA_CONTEXT_PREFIX |
NODE_FIRST, PARALLEL, STEP_FIRST
Constructor and Description |
---|
ParallelWorkflowStrategy(Framework framework) |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionResult |
executeWorkflowImpl(StepExecutionContext executionContext,
WorkflowExecutionItem item) |
protected WorkflowStatusResult |
executeWorkflowItemsInParallel(StepExecutionContext executionContext,
java.util.Map<java.lang.Integer,StepExecutionResult> failedMap,
java.util.List<StepExecutionResult> resultList,
java.util.List<StepExecutionItem> iWorkflowCmdItems,
boolean keepgoing)
Execute the sequence of ExecutionItems within the context, and with the given keepgoing value, return true if
successful
|
addNodeStepFailureContextData, addStepFailureContextData, convertFailures, createPrintableDataContext, executeWFItem, executeWorkflow, executeWorkflowItemsForNodeSet, executeWorkflowItemsForNodeSet, getWorkflowListener, nodeStepResultFromNodeStepException, replaceFailedNodesListenerInContext
protected static final java.lang.String DATA_CONTEXT_PREFIX
public ParallelWorkflowStrategy(Framework framework)
public WorkflowExecutionResult executeWorkflowImpl(StepExecutionContext executionContext, WorkflowExecutionItem item)
executeWorkflowImpl
in class BaseWorkflowStrategy
protected WorkflowStatusResult executeWorkflowItemsInParallel(StepExecutionContext executionContext, java.util.Map<java.lang.Integer,StepExecutionResult> failedMap, java.util.List<StepExecutionResult> resultList, java.util.List<StepExecutionItem> iWorkflowCmdItems, boolean keepgoing)
executionContext
- contextfailedMap
- failuresresultList
- resultsiWorkflowCmdItems
- stepskeepgoing
- true to keepgoing if a step fails