public interface NodeExecutionService extends AppService
Modifier and Type | Method and Description |
---|---|
NodeExecutorResult |
executeCommand(ExecutionContext context,
ExecArgList command,
INodeEntry node)
Execute a command within the context on the node.
|
java.lang.String |
fileCopyFile(ExecutionContext context,
java.io.File file,
INodeEntry node,
java.lang.String destinationPath)
Copy file to the node to a specific path
|
java.lang.String |
fileCopyFileStream(ExecutionContext context,
java.io.InputStream input,
INodeEntry node,
java.lang.String destinationPath)
Copy stream as a file to the node to a specific path
|
java.lang.String fileCopyFileStream(ExecutionContext context, java.io.InputStream input, INodeEntry node, java.lang.String destinationPath) throws FileCopierException, ExecutionException
context
- contextinput
- input streamnode
- nodedestinationPath
- destination pathFileCopierException
- on errorExecutionException
java.lang.String fileCopyFile(ExecutionContext context, java.io.File file, INodeEntry node, java.lang.String destinationPath) throws FileCopierException, ExecutionException
context
- contextfile
- input filenode
- nodedestinationPath
- destination pathFileCopierException
- on errorExecutionException
NodeExecutorResult executeCommand(ExecutionContext context, ExecArgList command, INodeEntry node) throws ExecutionException
context
- contextcommand
- commandnode
- nodeExecutionException