com.dtolabs.rundeck.core.execution.impl.local
Class LocalNodeExecutor

java.lang.Object
  extended by com.dtolabs.rundeck.core.execution.impl.local.LocalNodeExecutor
All Implemented Interfaces:
NodeExecutor

public class LocalNodeExecutor
extends java.lang.Object
implements NodeExecutor

LocalNodeExecutor is ...


Field Summary
static java.lang.String SERVICE_PROVIDER_TYPE
           
 
Constructor Summary
LocalNodeExecutor(Framework framework)
           
 
Method Summary
 NodeExecutorResult executeCommand(ExecutionContext context, java.lang.String[] command, INodeEntry node)
          Execute a command on a node and return the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_PROVIDER_TYPE

public static final java.lang.String SERVICE_PROVIDER_TYPE
See Also:
Constant Field Values
Constructor Detail

LocalNodeExecutor

public LocalNodeExecutor(Framework framework)
Method Detail

executeCommand

public NodeExecutorResult executeCommand(ExecutionContext context,
                                         java.lang.String[] command,
                                         INodeEntry node)
Description copied from interface: NodeExecutor
Execute a command on a node and return the result.

Specified by:
executeCommand in interface NodeExecutor
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