Package com.dtolabs.rundeck.core.execution.workflow.steps.node

Examples of com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepException


            if (echo) {
                context.getLogger().log(2, "Copied: " + path);
            }
        } catch (FileCopierException e) {
            context.getLogger().log(0, "failed: " + e.getMessage());
            throw new NodeStepException(e, Reason.CopyFileFailed, entry.getNodename());
        }
    }
View Full Code Here


        System.out.println("Example step extra config: " + configuration);
        System.out.println("Example step num: " + context.getStepNumber());
        System.out.println("Example step context: " + context.getStepContext());
        if ("true".equals(configuration.get("pancake"))) {
            //throw exception indicating the cause of the error
            throw new NodeStepException("pancake was true", Reason.PancakeReason, entry.getNodename());
        }
    }
View Full Code Here

TOP

Related Classes of com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepException

Copyright © 2018 www.massapicom. 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.