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>
-
Constructor Summary
ConstructorDescriptionBapFtpClient
(org.apache.commons.net.ftp.FTPClient ftpClient, jenkins.plugins.publish_over.BPBuildInfo buildInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
beginTransfers
(BapFtpTransfer transfer) boolean
changeDirectory
(String directory) void
void
void
jenkins.plugins.publish_over.BPBuildInfo
org.apache.commons.net.ftp.FTPClient
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) Methods inherited from class jenkins.plugins.publish_over.BPDefaultClient
changeToInitialDirectory, endTransfers, getAbsoluteRemoteRoot, setAbsoluteRemoteRoot
-
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
-
makeDirectory
-
deleteTree
- Specified by:
deleteTree
in interfacejenkins.plugins.publish_over.BPClient<BapFtpTransfer>
- Overrides:
deleteTree
in classjenkins.plugins.publish_over.BPDefaultClient<BapFtpTransfer>
- Throws:
IOException
-
beginTransfers
- 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()
-