public interface ExecutionListener extends PluginLogger
Modifier and Type | Method and Description |
---|---|
void |
beginFileCopyFile(ExecutionContext context,
java.io.File input,
INodeEntry node)
Begin file copy of file
|
void |
beginFileCopyFile(ExecutionContext context,
java.util.List<java.io.File> files,
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
|
ExecutionListenerOverride |
createOverride() |
void |
finishFileCopy(java.lang.String result,
ExecutionContext context,
INodeEntry node)
Finish file copy
|
void |
finishMultiFileCopy(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.
|
FailedNodesListener |
getFailedNodesListener()
Return a listener for failed node list
|
void |
ignoreErrors(boolean ignore)
Ignore error messages and transform them into standard output
|
event, log, log
void ignoreErrors(boolean ignore)
ignore
- FailedNodesListener getFailedNodesListener()
void beginNodeExecution(ExecutionContext context, java.lang.String[] command, INodeEntry node)
context
- contextcommand
- command stringsnode
- nodevoid finishNodeExecution(NodeExecutorResult result, ExecutionContext context, java.lang.String[] command, INodeEntry node)
result
- resultcontext
- contextcommand
- command stringsnode
- nodevoid beginNodeDispatch(ExecutionContext context, StepExecutionItem item)
context
- contextitem
- stepvoid beginNodeDispatch(ExecutionContext context, Dispatchable item)
context
- contextitem
- dispatchvoid finishNodeDispatch(DispatcherResult result, ExecutionContext context, StepExecutionItem item)
result
- resultcontext
- contextitem
- stepvoid finishNodeDispatch(DispatcherResult result, ExecutionContext context, Dispatchable item)
result
- resultcontext
- contextitem
- dispatchvoid beginFileCopyFileStream(ExecutionContext context, java.io.InputStream input, INodeEntry node)
context
- contextinput
- input streamnode
- nodevoid beginFileCopyFile(ExecutionContext context, java.io.File input, INodeEntry node)
context
- contextinput
- filenode
- nodevoid beginFileCopyFile(ExecutionContext context, java.util.List<java.io.File> files, INodeEntry node)
context
- contextfiles
- filesnode
- nodevoid beginFileCopyScriptContent(ExecutionContext context, java.lang.String input, INodeEntry node)
context
- contextinput
- stringnode
- nodevoid finishFileCopy(java.lang.String result, ExecutionContext context, INodeEntry node)
result
- resultcontext
- contextnode
- nodevoid finishMultiFileCopy(java.lang.String[] result, ExecutionContext context, INodeEntry node)
result
- resultcontext
- contextnode
- nodeExecutionListenerOverride createOverride()