net.sourceforge.cruisecontrol.publishers
Class ExecutePublisher

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.publishers.ExecutePublisher
All Implemented Interfaces:
Publisher, java.io.Serializable

public class ExecutePublisher
extends java.lang.Object
implements Publisher

Used to execute a custom publishing command

Author:
Oren Miller
See Also:
Serialized Form

Constructor Summary
ExecutePublisher()
           
 
Method Summary
 void publish(org.jdom.Element cruisecontrolLog)
          Define the publishing.
 void setCommand(java.lang.String commandString)
           
 void validate()
          Called after the configuration is read to make sure that all the mandatory parameters were specified..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutePublisher

public ExecutePublisher()
Method Detail

setCommand

public void setCommand(java.lang.String commandString)

validate

public void validate()
              throws CruiseControlException
Called after the configuration is read to make sure that all the mandatory parameters were specified..

Specified by:
validate in interface Publisher
Throws:
CruiseControlException - if there was a configuration error.

publish

public void publish(org.jdom.Element cruisecontrolLog)
             throws CruiseControlException
Description copied from interface: Publisher
Define the publishing.

Specified by:
publish in interface Publisher
Parameters:
cruisecontrolLog - JDOM Element representation of the main cruisecontrol build log
Throws:
CruiseControlException