Class BapFtpClient

java.lang.Object
jenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
jenkins.plugins.publish_over_ftp.BapFtpClient
All Implemented Interfaces:
jenkins.plugins.publish_over.BPClient<BapFtpTransfer>

public class BapFtpClient extends jenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
  • Constructor Details

    • BapFtpClient

      public BapFtpClient(org.apache.commons.net.ftp.FTPClient ftpClient, jenkins.plugins.publish_over.BPBuildInfo buildInfo)
  • Method Details

    • setDisableMakeNestedDirs

      public void setDisableMakeNestedDirs(boolean disableMakeNestedDirs)
    • setDisableRemoteVerification

      public void setDisableRemoteVerification(boolean disableRemoteVerification)
    • getFtpClient

      public org.apache.commons.net.ftp.FTPClient getFtpClient()
    • setFtpClient

      public void setFtpClient(org.apache.commons.net.ftp.FTPClient ftpClient)
    • getBuildInfo

      public jenkins.plugins.publish_over.BPBuildInfo getBuildInfo()
    • setBuildInfo

      public void setBuildInfo(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
    • changeDirectory

      public boolean changeDirectory(String directory)
    • makeDirectory

      public boolean makeDirectory(String directory)
    • deleteTree

      public void deleteTree() throws IOException
      Specified by:
      deleteTree in interface jenkins.plugins.publish_over.BPClient<BapFtpTransfer>
      Overrides:
      deleteTree in class jenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
      Throws:
      IOException
    • beginTransfers

      public void beginTransfers(BapFtpTransfer transfer)
      Specified by:
      beginTransfers in interface jenkins.plugins.publish_over.BPClient<BapFtpTransfer>
      Overrides:
      beginTransfers in class jenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
    • transferFile

      public void transferFile(BapFtpTransfer client, FilePath filePath, InputStream content) throws IOException
      Throws:
      IOException
    • disconnect

      public void disconnect()
    • disconnectQuietly

      public void disconnectQuietly()