net.sourceforge.cruisecontrol.listeners
Class CurrentBuildStatusListener

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.listeners.CurrentBuildStatusListener
All Implemented Interfaces:
Listener, java.io.Serializable

public class CurrentBuildStatusListener
extends java.lang.Object
implements Listener

Writes a text snippet in a file (typically in a location where the reporting module can read it), indicating the current build status.

DateFormatFactory for the dateformat

Author:
jfredrick
See Also:
DateFormatFactory, Serialized Form

Constructor Summary
CurrentBuildStatusListener()
           
 
Method Summary
 void handleEvent(ProjectEvent event)
           
 void setFile(java.lang.String fileName)
           
 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

CurrentBuildStatusListener

public CurrentBuildStatusListener()
Method Detail

handleEvent

public void handleEvent(ProjectEvent event)
                 throws CruiseControlException
Specified by:
handleEvent in interface Listener
Throws:
CruiseControlException

validate

public void validate()
              throws CruiseControlException
Description copied from interface: Listener
Called after the configuration is read to make sure that all the mandatory parameters were specified..

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

setFile

public void setFile(java.lang.String fileName)