|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dtolabs.rundeck.core.execution.workflow.steps.NodeDispatchStepExecutor
public class NodeDispatchStepExecutor
NodeDispatchStepExecutor dispatches the step execution item to all nodes, via the ExecutionService
Field Summary | |
---|---|
static java.lang.String |
FAILURE_DATA_FAILED_NODES
|
static java.lang.String |
STEP_EXECUTION_TYPE
|
Constructor Summary | |
---|---|
NodeDispatchStepExecutor()
|
Method Summary | |
---|---|
StepExecutionResult |
executeWorkflowStep(StepExecutionContext context,
StepExecutionItem executionItem)
|
static DispatcherException |
extractDispatcherException(StepExecutionResult result)
Return the DispatcherResult from a StepExecutionResult created by this class. |
static DispatcherResult |
extractDispatcherResult(StepExecutionResult result)
Return the DispatcherResult from a StepExecutionResult created by this class. |
boolean |
isNodeDispatchStep(StepExecutionItem item)
|
static boolean |
isWrappedDispatcherException(StepExecutionResult result)
|
static boolean |
isWrappedDispatcherResult(StepExecutionResult result)
|
static StepExecutionResult |
wrapDispatcherException(DispatcherException dispatcherResult)
Return a StepExecutionResult based on the DispatcherResult, that can later be extracted. |
static StepExecutionResult |
wrapDispatcherResult(DispatcherResult dispatcherResult)
Return a StepExecutionResult based on the DispatcherResult, that can later be extracted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STEP_EXECUTION_TYPE
public static final java.lang.String FAILURE_DATA_FAILED_NODES
Constructor Detail |
---|
public NodeDispatchStepExecutor()
Method Detail |
---|
public boolean isNodeDispatchStep(StepExecutionItem item)
isNodeDispatchStep
in interface StepExecutor
public StepExecutionResult executeWorkflowStep(StepExecutionContext context, StepExecutionItem executionItem)
executeWorkflowStep
in interface StepExecutor
public static StepExecutionResult wrapDispatcherException(DispatcherException dispatcherResult)
public static StepExecutionResult wrapDispatcherResult(DispatcherResult dispatcherResult)
public static boolean isWrappedDispatcherException(StepExecutionResult result)
public static boolean isWrappedDispatcherResult(StepExecutionResult result)
public static DispatcherResult extractDispatcherResult(StepExecutionResult result)
public static DispatcherException extractDispatcherException(StepExecutionResult result)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |