public class NodeDispatchStepExecutor extends java.lang.Object implements StepExecutor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FAILURE_DATA_FAILED_NODES |
static java.lang.String |
STEP_EXECUTION_TYPE |
| Constructor and Description |
|---|
NodeDispatchStepExecutor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final java.lang.String STEP_EXECUTION_TYPE
public static final java.lang.String FAILURE_DATA_FAILED_NODES
public boolean isNodeDispatchStep(StepExecutionItem item)
isNodeDispatchStep in interface StepExecutorpublic StepExecutionResult executeWorkflowStep(StepExecutionContext context, StepExecutionItem executionItem)
executeWorkflowStep in interface StepExecutorpublic static StepExecutionResult wrapDispatcherException(DispatcherException dispatcherResult)
dispatcherResult - exception resultpublic static StepExecutionResult wrapDispatcherResult(DispatcherResult dispatcherResult)
dispatcherResult - resultpublic static boolean isWrappedDispatcherException(StepExecutionResult result)
public static boolean isWrappedDispatcherResult(StepExecutionResult result)
public static DispatcherResult extractDispatcherResult(StepExecutionResult result)
result - step resultpublic static DispatcherException extractDispatcherException(StepExecutionResult result)
result - step exception