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);
}
}
}
public void validate() throws CruiseControlException {