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,
ContextLogger logger,
boolean terse,
java.lang.String logFormat) |
protected |
WorkflowExecutionListenerImpl(WorkflowExecutionListenerImpl delegate) |
| 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) |
java.util.Map<java.lang.String,java.lang.String> |
getContext() |
java.util.Map<java.lang.String,java.lang.String> |
getLoggingContext()
Method should be overridden
|
void |
log(int level,
java.lang.String message)
Log a message
|
void |
log(int level,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> data) |
beginFileCopyFile, beginFileCopyFileStream, beginFileCopyScriptContent, beginNodeDispatch, beginNodeDispatch, beginNodeExecution, beginStepExecution, finishFileCopy, finishNodeDispatch, finishNodeDispatch, finishNodeExecution, finishStepExecution, getFailedNodesListener, getLogFormat, isTerse, setFailedNodesListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginStepExecution, finishStepExecutionbeginFileCopyFile, beginFileCopyFileStream, beginFileCopyScriptContent, beginNodeDispatch, beginNodeDispatch, beginNodeExecution, event, finishFileCopy, finishNodeDispatch, finishNodeDispatch, finishNodeExecution, getFailedNodesListener, getLogFormat, isTerse, logprotected WorkflowExecutionListenerImpl(WorkflowExecutionListenerImpl delegate)
public WorkflowExecutionListenerImpl(FailedNodesListener failedNodesListener, ContextLogger logger, boolean terse, java.lang.String logFormat)
public 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 java.util.Map<java.lang.String,java.lang.String> getLoggingContext()
ExecutionListenerOverrideBasegetLoggingContext in interface ContextLoggerExecutionListenergetLoggingContext in class ExecutionListenerOverrideBasepublic 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 final void log(int level,
java.lang.String message)
ExecutionListenerlog in interface ExecutionListenerlog in interface PluginLoggerlevel - the log levelmessage - Message being logged. null messages are not logged, however, zero-length strings
are.public void event(java.lang.String eventType,
java.lang.String message,
java.util.Map eventMeta)
event in interface ExecutionListenerpublic void log(int level,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> data)
public java.util.Map<java.lang.String,java.lang.String> getContext()
getContext in interface Contextual