com.dtolabs.rundeck.core.execution.service
Interface NodeExecutor

All Known Implementing Classes:
JschNodeExecutor, LocalNodeExecutor

public interface NodeExecutor

NodeExecutor executes a command on a node.


Method Summary
 NodeExecutorResult executeCommand(ExecutionContext context, java.lang.String[] command, INodeEntry node)
          Execute a command on a node and return the result.
 

Method Detail

executeCommand

NodeExecutorResult executeCommand(ExecutionContext context,
                                  java.lang.String[] command,
                                  INodeEntry node)
Execute a command on a node and return the result.

Parameters:
context - the execution context
command - the array of strings for the command line, with any necessary data context references replaced.
node - the node to execute on
Returns:
a result