Package com.dtolabs.rundeck.core.execution

Examples of com.dtolabs.rundeck.core.execution.ExecutionService.executeCommand()


                                              final GeneratedScript script)
        throws NodeStepException {
        final ExecutionService executionService = context.getFramework().getExecutionService();
        if (null != script.getCommand()) {
            //execute the command
            return executionService.executeCommand(context, script.getCommand(), node);
        } else if (null != script.getScript()) {
            final String filepath; //result file path
            try {
                filepath = executionService.fileCopyScriptContent(context, script.getScript(), node);
            } catch (FileCopierException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.