Class BapFtpClient

  • All Implemented Interfaces:
    jenkins.plugins.publish_over.BPClient<BapFtpTransfer>

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

      • BapFtpClient

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

      • 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>
      • disconnect

        public void disconnect()
      • disconnectQuietly

        public void disconnectQuietly()