public class WorkflowExecutionStateListenerAdapter extends java.lang.Object implements WorkflowExecutionListener
WorkflowExecutionListener
and sends changes to a list of WorkflowStateListener
s.Constructor and Description |
---|
WorkflowExecutionStateListenerAdapter() |
WorkflowExecutionStateListenerAdapter(java.util.List<WorkflowStateListener> listeners) |
public WorkflowExecutionStateListenerAdapter()
public WorkflowExecutionStateListenerAdapter(java.util.List<WorkflowStateListener> listeners)
public void addWorkflowStateListener(WorkflowStateListener listener)
public void beginWorkflowExecution(StepExecutionContext executionContext, WorkflowExecutionItem item)
beginWorkflowExecution
in interface WorkflowExecutionListener
public void finishWorkflowExecution(WorkflowExecutionResult result, StepExecutionContext executionContext, WorkflowExecutionItem item)
finishWorkflowExecution
in interface WorkflowExecutionListener
public void beginWorkflowItem(int step, StepExecutionItem item)
beginWorkflowItem
in interface WorkflowExecutionListener
public void beginWorkflowItemErrorHandler(int step, StepExecutionItem item)
beginWorkflowItemErrorHandler
in interface WorkflowExecutionListener
public void finishWorkflowItem(int step, StepExecutionItem item, StepExecutionResult result)
finishWorkflowItem
in interface WorkflowExecutionListener
public void finishWorkflowItemErrorHandler(int step, StepExecutionItem item, StepExecutionResult result)
finishWorkflowItemErrorHandler
in interface WorkflowExecutionListener
public void beginExecuteNodeStep(ExecutionContext context, NodeStepExecutionItem item, INodeEntry node)
WorkflowExecutionListener
beginExecuteNodeStep
in interface WorkflowExecutionListener
context
- contextitem
- stepnode
- nodepublic void beginStepExecution(StepExecutor executor, StepExecutionContext context, StepExecutionItem item)
WorkflowExecutionListener
beginStepExecution
in interface WorkflowExecutionListener
executor
- executorcontext
- contextitem
- steppublic void finishStepExecution(StepExecutor executor, StatusResult result, StepExecutionContext context, StepExecutionItem item)
WorkflowExecutionListener
finishStepExecution
in interface WorkflowExecutionListener
executor
- executorresult
- resultcontext
- contextitem
- steppublic void finishExecuteNodeStep(NodeStepResult result, ExecutionContext context, StepExecutionItem item, INodeEntry node)
WorkflowExecutionListener
finishExecuteNodeStep
in interface WorkflowExecutionListener
result
- resultcontext
- contextitem
- stepnode
- node