Examples of StepExecutor


Examples of com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutor

                throw new IllegalStateException();
            }
            for (final IWorkflow flowsection : sections) {
                boolean sectionSuccess = true;

                StepExecutor stepExecutor = framework.getStepExecutionService()
                    .getExecutorForItem(flowsection.getCommands().get(0));

                if (stepExecutor.isNodeDispatchStep(flowsection.getCommands().get(0))) {
                    sectionSuccess = executeWFSectionNodeDispatch(executionContext,
                                                                  stepCount,
                                                                  results,
                                                                  failures,
                                                                  stepFailures,
View Full Code Here

Examples of com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutor

     */
    private List<IWorkflow> splitWorkflowDispatchedSections(IWorkflow workflow) throws ExecutionServiceException {
        ArrayList<StepExecutionItem> dispatchItems = new ArrayList<StepExecutionItem>();
        ArrayList<IWorkflow> sections = new ArrayList<IWorkflow>();
        for (final StepExecutionItem item : workflow.getCommands()) {
            StepExecutor executor = framework.getStepExecutionService().getExecutorForItem(item);
            if (executor.isNodeDispatchStep(item)) {
                dispatchItems.add(item);
            } else {
                if (dispatchItems.size() > 0) {
                    //add workflow section
                    sections.add(new WorkflowImpl(dispatchItems,
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.