net.sourceforge.cruisecontrol.listeners
Class CurrentBuildStatusFTPListener

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

public class CurrentBuildStatusFTPListener
extends AbstractFTPClass
implements Listener

Does the same thing as CurrentBuildStatusListener, but also sends it to an FTP server.

DateFormatFactory for the dateformat

Author:
jerome@coffeebreaks.org
See Also:
DateFormatFactory, Serialized Form

Constructor Summary
CurrentBuildStatusFTPListener()
           
 
Method Summary
 java.lang.String getFileName()
           
 void handleEvent(ProjectEvent event)
           
 void setDestDir(java.lang.String dir)
           
 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 net.sourceforge.cruisecontrol.util.AbstractFTPClass
closeFTP, makeDir, makeDirs, makeDirsForFile, openFTP, resolveFile, sendFile, sendFileToFTPPath, sendStream, setBinary, setPassive, setTargetDir, setTargetHost, setTargetPasswd, setTargetPort, setTargetSeparator, setTargetUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentBuildStatusFTPListener

public CurrentBuildStatusFTPListener()
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
Overrides:
validate in class AbstractFTPClass
Throws:
CruiseControlException - if there was a configuration error.

setFile

public void setFile(java.lang.String fileName)

setDestDir

public void setDestDir(java.lang.String dir)

getFileName

public java.lang.String getFileName()