net.sourceforge.cruisecontrol.listeners
Class CurrentBuildStatusFTPListener
java.lang.Object
net.sourceforge.cruisecontrol.util.AbstractFTPClass
net.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
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 |
CurrentBuildStatusFTPListener
public CurrentBuildStatusFTPListener()
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()