Class NewLocalNodeExecutor
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.impl.local.NewLocalNodeExecutor
-
- All Implemented Interfaces:
NodeExecutor
public class NewLocalNodeExecutor extends java.lang.Object implements NodeExecutor
- Since:
- 6/12/17
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_PROVIDER_TYPE
-
Constructor Summary
Constructors Constructor Description NewLocalNodeExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.service.NodeExecutor
supportVariableInjection
-
-
-
-
Field Detail
-
SERVICE_PROVIDER_TYPE
public static final java.lang.String SERVICE_PROVIDER_TYPE
- See Also:
- Constant Field Values
-
-
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 interfaceNodeExecutor
- Parameters:
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- Returns:
- a result
-
-