Class NewLocalNodeExecutor

  • All Implemented Interfaces:
    NodeExecutor

    public class NewLocalNodeExecutor
    extends java.lang.Object
    implements NodeExecutor
    Since:
    6/12/17
    • Field Detail

      • SERVICE_PROVIDER_TYPE

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

      • NewLocalNodeExecutor

        public NewLocalNodeExecutor()
    • 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