public class LocalNodeExecutor extends java.lang.Object implements NodeExecutor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_PROVIDER_TYPE |
Constructor and Description |
---|
LocalNodeExecutor(Framework framework) |
Modifier and Type | Method and Description |
---|---|
NodeExecutorResult |
executeCommand(ExecutionContext context,
java.lang.String[] command,
INodeEntry node)
Execute a command on a node and return the result.
|
public static final java.lang.String SERVICE_PROVIDER_TYPE
public LocalNodeExecutor(Framework framework)
public NodeExecutorResult executeCommand(ExecutionContext context, java.lang.String[] command, INodeEntry node)
NodeExecutor
executeCommand
in interface NodeExecutor
context
- the execution contextcommand
- the array of strings for the command line, with any necessary data context references replaced.node
- the node to execute on