net.sourceforge.cruisecontrol.publishers
Class CurrentBuildStatusFTPPublisher

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

Deprecated. Was obsoleted by CurrentBuildStatusFTPListener

public class CurrentBuildStatusFTPPublisher
extends AbstractFTPClass
implements Publisher

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

See Also:
Serialized Form

Constructor Summary
CurrentBuildStatusFTPPublisher()
          Deprecated.  
 
Method Summary
protected  java.lang.String makeFile(org.jdom.Element cruisecontrolLog)
          Deprecated.  
 void publish(org.jdom.Element cruisecontrolLog)
          Deprecated. Define the publishing.
 void setDestDir(java.lang.String dir)
          Deprecated.  
 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 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

CurrentBuildStatusFTPPublisher

public CurrentBuildStatusFTPPublisher()
Deprecated. 
Method Detail

setFile

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

setDestDir

public void setDestDir(java.lang.String dir)
Deprecated. 

validate

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

Specified by:
validate in interface Publisher
Overrides:
validate in class AbstractFTPClass
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

makeFile

protected java.lang.String makeFile(org.jdom.Element cruisecontrolLog)
                             throws CruiseControlException
Deprecated. 
Throws:
CruiseControlException

writeFile

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