public abstract class ExecutionListenerOverrideBase extends java.lang.Object implements ExecutionListenerOverride
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionListenerOverrideBase(ExecutionListenerOverrideBase delegate) |
|
ExecutionListenerOverrideBase(FailedNodesListener failedNodesListener,
boolean terse,
java.lang.String logFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginExecuteNodeStep(ExecutionContext context,
NodeStepExecutionItem item,
INodeEntry node) |
void |
beginFileCopyFile(ExecutionContext context,
java.io.File input,
INodeEntry node)
Begin file copy of file
|
void |
beginFileCopyFileStream(ExecutionContext context,
java.io.InputStream input,
INodeEntry node)
Begin file copy of stream
|
void |
beginFileCopyScriptContent(ExecutionContext context,
java.lang.String input,
INodeEntry node)
Begin file copy of string
|
void |
beginNodeDispatch(ExecutionContext context,
Dispatchable item)
Begin dispatch of command to set of nodes
|
void |
beginNodeDispatch(ExecutionContext context,
StepExecutionItem item)
Begin dispatch of command to set of nodes
|
void |
beginNodeExecution(ExecutionContext context,
java.lang.String[] command,
INodeEntry node)
Called before execution of command on node
|
void |
beginStepExecution(StepExecutor executor,
StepExecutionContext context,
StepExecutionItem item) |
void |
finishExecuteNodeStep(NodeStepResult result,
ExecutionContext context,
StepExecutionItem item,
INodeEntry node) |
void |
finishFileCopy(java.lang.String result,
ExecutionContext context,
INodeEntry node)
Finish file copy
|
void |
finishNodeDispatch(DispatcherResult result,
ExecutionContext context,
Dispatchable item)
Finish node dispatch
|
void |
finishNodeDispatch(DispatcherResult result,
ExecutionContext context,
StepExecutionItem item)
Finish node dispatch
|
void |
finishNodeExecution(NodeExecutorResult result,
ExecutionContext context,
java.lang.String[] command,
INodeEntry node)
Called after execution of command on node.
|
void |
finishStepExecution(StepExecutor executor,
StatusResult result,
StepExecutionContext context,
StepExecutionItem item) |
FailedNodesListener |
getFailedNodesListener()
Return a listener for failed node list
|
java.lang.String |
getLogFormat() |
java.util.Map<java.lang.String,java.lang.String> |
getLoggingContext()
Method should be overridden
|
boolean |
isTerse() |
void |
setFailedNodesListener(FailedNodesListener failedNodesListener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOverride, event, logprotected ExecutionListenerOverrideBase(ExecutionListenerOverrideBase delegate)
public ExecutionListenerOverrideBase(FailedNodesListener failedNodesListener, boolean terse, java.lang.String logFormat)
public java.util.Map<java.lang.String,java.lang.String> getLoggingContext()
public void beginStepExecution(StepExecutor executor, StepExecutionContext context, StepExecutionItem item)
public void finishStepExecution(StepExecutor executor, StatusResult result, StepExecutionContext context, StepExecutionItem item)
public void beginNodeExecution(ExecutionContext context, java.lang.String[] command, INodeEntry node)
ExecutionListenerbeginNodeExecution in interface ExecutionListenercontext - contextcommand - command stringsnode - nodepublic void finishNodeExecution(NodeExecutorResult result, ExecutionContext context, java.lang.String[] command, INodeEntry node)
ExecutionListenerfinishNodeExecution in interface ExecutionListenerresult - resultcontext - contextcommand - command stringsnode - nodepublic void beginNodeDispatch(ExecutionContext context, StepExecutionItem item)
ExecutionListenerbeginNodeDispatch in interface ExecutionListenercontext - contextitem - steppublic void finishNodeDispatch(DispatcherResult result, ExecutionContext context, StepExecutionItem item)
ExecutionListenerfinishNodeDispatch in interface ExecutionListenerresult - resultcontext - contextitem - steppublic void beginNodeDispatch(ExecutionContext context, Dispatchable item)
ExecutionListenerbeginNodeDispatch in interface ExecutionListenercontext - contextitem - dispatchpublic void finishNodeDispatch(DispatcherResult result, ExecutionContext context, Dispatchable item)
ExecutionListenerfinishNodeDispatch in interface ExecutionListenerresult - resultcontext - contextitem - dispatchpublic void beginFileCopyFileStream(ExecutionContext context, java.io.InputStream input, INodeEntry node)
ExecutionListenerbeginFileCopyFileStream in interface ExecutionListenercontext - contextinput - input streamnode - nodepublic void beginFileCopyFile(ExecutionContext context, java.io.File input, INodeEntry node)
ExecutionListenerbeginFileCopyFile in interface ExecutionListenercontext - contextinput - filenode - nodepublic void beginFileCopyScriptContent(ExecutionContext context, java.lang.String input, INodeEntry node)
ExecutionListenerbeginFileCopyScriptContent in interface ExecutionListenercontext - contextinput - stringnode - nodepublic void finishFileCopy(java.lang.String result,
ExecutionContext context,
INodeEntry node)
ExecutionListenerfinishFileCopy in interface ExecutionListenerresult - resultcontext - contextnode - nodepublic void beginExecuteNodeStep(ExecutionContext context, NodeStepExecutionItem item, INodeEntry node)
public void finishExecuteNodeStep(NodeStepResult result, ExecutionContext context, StepExecutionItem item, INodeEntry node)
public FailedNodesListener getFailedNodesListener()
ExecutionListenergetFailedNodesListener in interface ExecutionListenerpublic boolean isTerse()
isTerse in interface ExecutionListenerpublic java.lang.String getLogFormat()
getLogFormat in interface ExecutionListenerpublic void setFailedNodesListener(FailedNodesListener failedNodesListener)
setFailedNodesListener in interface ExecutionListenerOverridefailedNodesListener - a listener for failed node list