Package jenkins.plugins.publish_over_ftp
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 Summary
Constructors Constructor Description BapFtpClient(org.apache.commons.net.ftp.FTPClient ftpClient, jenkins.plugins.publish_over.BPBuildInfo buildInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginTransfers(BapFtpTransfer transfer)
boolean
changeDirectory(String directory)
void
deleteTree()
void
disconnect()
void
disconnectQuietly()
jenkins.plugins.publish_over.BPBuildInfo
getBuildInfo()
org.apache.commons.net.ftp.FTPClient
getFtpClient()
boolean
makeDirectory(String directory)
void
setBuildInfo(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
void
setDisableMakeNestedDirs(boolean disableMakeNestedDirs)
void
setDisableRemoteVerification(boolean disableRemoteVerification)
void
setFtpClient(org.apache.commons.net.ftp.FTPClient ftpClient)
void
transferFile(BapFtpTransfer client, FilePath filePath, InputStream content)
-
-
-
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 interfacejenkins.plugins.publish_over.BPClient<BapFtpTransfer>
- Overrides:
deleteTree
in classjenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
- Throws:
IOException
-
beginTransfers
public void beginTransfers(BapFtpTransfer transfer)
- Specified by:
beginTransfers
in interfacejenkins.plugins.publish_over.BPClient<BapFtpTransfer>
- Overrides:
beginTransfers
in classjenkins.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()
-
-