|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy
public abstract class BaseWorkflowStrategy
BaseWorkflowStrategy is ...
Field Summary |
---|
Fields inherited from interface com.dtolabs.rundeck.core.execution.workflow.WorkflowStrategy |
---|
NODE_FIRST, STEP_FIRST |
Constructor Summary | |
---|---|
BaseWorkflowStrategy(Framework framework)
|
Method Summary | |
---|---|
protected java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> |
convertFailures(java.util.Map<java.lang.Integer,StepExecutionResult> failedMap)
Convert map of step execution results keyed by step number, to a collection of step execution results keyed by node name |
protected StepExecutionResult |
executeWFItem(StepExecutionContext executionContext,
java.util.Map<java.lang.Integer,StepExecutionResult> failedMap,
int c,
StepExecutionItem cmd)
Execute a workflow item, returns true if the item succeeds. |
WorkflowExecutionResult |
executeWorkflow(StepExecutionContext executionContext,
WorkflowExecutionItem item)
|
abstract WorkflowExecutionResult |
executeWorkflowImpl(StepExecutionContext executionContext,
WorkflowExecutionItem item)
|
protected boolean |
executeWorkflowItemsForNodeSet(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 |
protected boolean |
executeWorkflowItemsForNodeSet(StepExecutionContext executionContext,
java.util.Map<java.lang.Integer,StepExecutionResult> failedMap,
java.util.List<StepExecutionResult> resultList,
java.util.List<StepExecutionItem> iWorkflowCmdItems,
boolean keepgoing,
int beginStepIndex)
Execute the sequence of ExecutionItems within the context, and with the given keepgoing value, return true if successful |
protected WorkflowExecutionListener |
getWorkflowListener(ExecutionContext executionContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseWorkflowStrategy(Framework framework)
Method Detail |
---|
public final WorkflowExecutionResult executeWorkflow(StepExecutionContext executionContext, WorkflowExecutionItem item)
executeWorkflow
in interface WorkflowExecutor
protected WorkflowExecutionListener getWorkflowListener(ExecutionContext executionContext)
public abstract WorkflowExecutionResult executeWorkflowImpl(StepExecutionContext executionContext, WorkflowExecutionItem item)
protected StepExecutionResult executeWFItem(StepExecutionContext executionContext, java.util.Map<java.lang.Integer,StepExecutionResult> failedMap, int c, StepExecutionItem cmd)
failedMap
- List to add any messages if the item failsc
- index of the WF itemcmd
- WF item descriptor
protected boolean executeWorkflowItemsForNodeSet(StepExecutionContext executionContext, java.util.Map<java.lang.Integer,StepExecutionResult> failedMap, java.util.List<StepExecutionResult> resultList, java.util.List<StepExecutionItem> iWorkflowCmdItems, boolean keepgoing)
protected boolean executeWorkflowItemsForNodeSet(StepExecutionContext executionContext, java.util.Map<java.lang.Integer,StepExecutionResult> failedMap, java.util.List<StepExecutionResult> resultList, java.util.List<StepExecutionItem> iWorkflowCmdItems, boolean keepgoing, int beginStepIndex)
protected java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> convertFailures(java.util.Map<java.lang.Integer,StepExecutionResult> failedMap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |