public class WorkflowExecutionListenerImpl extends ExecutionListenerOverrideBase implements WorkflowExecutionListener, ExecutionListener
WorkflowExecutionListener methods to maintain workflow execution
context data while executing workflows, allowing the ContextLogger to have proper context.| Modifier | Constructor and Description |
|---|---|
|
WorkflowExecutionListenerImpl(FailedNodesListener failedNodesListener,
ExecutionLogger logger) |
protected |
WorkflowExecutionListenerImpl(WorkflowExecutionListenerImpl delegate,
ExecutionLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginExecuteNodeStep(ExecutionContext context,
NodeStepExecutionItem item,
INodeEntry node)
Begin execution of a node step
|
void |
beginWorkflowExecution(StepExecutionContext executionContext,
WorkflowExecutionItem item) |
void |
beginWorkflowItem(int step,
StepExecutionItem item) |
void |
beginWorkflowItemErrorHandler(int step,
StepExecutionItem item) |
ExecutionListenerOverride |
createOverride() |
void |
event(java.lang.String eventType,
java.lang.String message,
java.util.Map eventMeta) |
void |
finishExecuteNodeStep(NodeStepResult result,
ExecutionContext context,
StepExecutionItem item,
INodeEntry node)
Finish execution of a node step
|
void |
finishWorkflowExecution(WorkflowExecutionResult result,
StepExecutionContext executionContext,
WorkflowExecutionItem item) |
void |
finishWorkflowItem(int step,
StepExecutionItem item,
StepExecutionResult result) |
void |
finishWorkflowItemErrorHandler(int step,
StepExecutionItem item,
StepExecutionResult result) |
ExecutionLogger |
getLogger() |
void |
ignoreErrors(boolean value)
Ignore error messages and transform them into standard output
|
void |
log(int level,
java.lang.String message)
Log a message at a given level
|
void |
log(int level,
java.lang.String message,
java.util.Map eventMeta)
Log a message at a given level, with additional metadata
|
beginFileCopyFile, beginFileCopyFile, beginFileCopyFileStream, beginFileCopyScriptContent, beginNodeDispatch, beginNodeDispatch, beginNodeExecution, beginStepExecution, finishFileCopy, finishMultiFileCopy, finishNodeDispatch, finishNodeDispatch, finishNodeExecution, finishStepExecution, getFailedNodesListener, setFailedNodesListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginStepExecution, finishStepExecutionbeginFileCopyFile, beginFileCopyFile, beginFileCopyFileStream, beginFileCopyScriptContent, beginNodeDispatch, beginNodeDispatch, beginNodeExecution, finishFileCopy, finishMultiFileCopy, finishNodeDispatch, finishNodeDispatch, finishNodeExecution, getFailedNodesListenerevent, log, logprotected WorkflowExecutionListenerImpl(WorkflowExecutionListenerImpl delegate, ExecutionLogger logger)
public WorkflowExecutionListenerImpl(FailedNodesListener failedNodesListener, ExecutionLogger logger)
public void ignoreErrors(boolean value)
ExecutionListenerignoreErrors in interface ExecutionListenerpublic void beginExecuteNodeStep(ExecutionContext context, NodeStepExecutionItem item, INodeEntry node)
WorkflowExecutionListenerbeginExecuteNodeStep in interface WorkflowExecutionListenerbeginExecuteNodeStep in class ExecutionListenerOverrideBasecontext - contextitem - stepnode - nodepublic void finishExecuteNodeStep(NodeStepResult result, ExecutionContext context, StepExecutionItem item, INodeEntry node)
WorkflowExecutionListenerfinishExecuteNodeStep in interface WorkflowExecutionListenerfinishExecuteNodeStep in class ExecutionListenerOverrideBaseresult - resultcontext - contextitem - stepnode - nodepublic void beginWorkflowExecution(StepExecutionContext executionContext, WorkflowExecutionItem item)
beginWorkflowExecution in interface WorkflowExecutionListenerpublic void finishWorkflowExecution(WorkflowExecutionResult result, StepExecutionContext executionContext, WorkflowExecutionItem item)
finishWorkflowExecution in interface WorkflowExecutionListenerpublic void beginWorkflowItem(int step,
StepExecutionItem item)
beginWorkflowItem in interface WorkflowExecutionListenerpublic void beginWorkflowItemErrorHandler(int step,
StepExecutionItem item)
beginWorkflowItemErrorHandler in interface WorkflowExecutionListenerpublic void finishWorkflowItem(int step,
StepExecutionItem item,
StepExecutionResult result)
finishWorkflowItem in interface WorkflowExecutionListenerpublic void finishWorkflowItemErrorHandler(int step,
StepExecutionItem item,
StepExecutionResult result)
finishWorkflowItemErrorHandler in interface WorkflowExecutionListenerpublic ExecutionListenerOverride createOverride()
createOverride in interface ExecutionListenerpublic void event(java.lang.String eventType,
java.lang.String message,
java.util.Map eventMeta)
eventType - event typemessage - Message being logged. null messages are not logged, however, zero-length strings
are.eventMeta - metadatapublic void log(int level,
java.lang.String message)
ExecutionLoggerlevel - the log level, from 0 to 5, where 0 is "error" and 5 is "debug"message - Message being logged. null messages are not logged, however, zero-length strings
are.public void log(int level,
java.lang.String message,
java.util.Map eventMeta)
ExecutionLoggerlevel - the log level, from 0 to 5, where 0 is "error" and 5 is "debug"message - Message being logged. null messages are not logged, however, zero-length strings
are.eventMeta - metadatapublic ExecutionLogger getLogger()