net.sourceforge.cruisecontrol.publishers
Class CurrentBuildStatusPublisher

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

Deprecated. Was obsoleted by CurrentBuildStatusListener

public class CurrentBuildStatusPublisher
extends java.lang.Object
implements Publisher

Writes an HTML snippet in a file (supposedly in a location where the reporting module can read it), indicating when the next build is going to take place.

DateFormatFactory for the dateformat

See Also:
DateFormatFactory, Serialized Form

Constructor Summary
CurrentBuildStatusPublisher()
          Deprecated.  
 
Method Summary
 void publish(org.jdom.Element cruisecontrolLog)
          Deprecated. Define the publishing.
 void setFile(java.lang.String fileName)
          Deprecated.  
 void validate()
          Deprecated. Called after the configuration is read to make sure that all the mandatory parameters were specified..
protected  void writeFile(java.util.Date date, long interval)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentBuildStatusPublisher

public CurrentBuildStatusPublisher()
Deprecated. 
Method Detail

setFile

public void setFile(java.lang.String fileName)
Deprecated. 

validate

public void validate()
              throws CruiseControlException
Deprecated. 
Description copied from interface: Publisher
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
Deprecated. 
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

writeFile

protected void writeFile(java.util.Date date,
                         long interval)
                  throws CruiseControlException
Deprecated. 
Throws:
CruiseControlException