Package net.sourceforge.cruisecontrol

Examples of net.sourceforge.cruisecontrol.Publisher


    private List publishers = new ArrayList();

    public void publish(Element log) throws CruiseControlException {
        if (shouldPublish(log)) {
            for (Iterator iterator = publishers.iterator(); iterator.hasNext();) {
                Publisher publisher = (Publisher) iterator.next();
                publisher.publish(log);
            }
        }
    }
View Full Code Here


    public void validate() throws CruiseControlException {
        ValidationHelper.assertTrue(publishers.size() > 0,
            "conditional publishers should have at least one nested publisher");

        for (Iterator iterator = publishers.iterator(); iterator.hasNext();) {
            Publisher publisher = (Publisher) iterator.next();
            publisher.validate();
        }
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.Publisher

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.