Examples of NodeStepException


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

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

        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
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.