public class CifsClient extends jenkins.plugins.publish_over.BPDefaultClient<CifsTransfer>
Constructor and Description |
---|
CifsClient(jcifs.CIFSContext cifsContext,
jenkins.plugins.publish_over.BPBuildInfo buildInfo,
String baseUrl,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
beginTransfers(CifsTransfer transfer) |
boolean |
changeDirectory(String directory) |
boolean |
changeToInitialDirectory() |
protected jcifs.smb.SmbFile |
createSmbFile(String url) |
void |
deleteTree() |
void |
disconnect() |
void |
disconnectQuietly() |
protected String |
getContext() |
boolean |
makeDirectory(String directory) |
void |
transferFile(CifsTransfer transfer,
FilePath filePath,
InputStream content) |
endTransfers, getAbsoluteRemoteRoot, setAbsoluteRemoteRoot
public CifsClient(jcifs.CIFSContext cifsContext, jenkins.plugins.publish_over.BPBuildInfo buildInfo, String baseUrl, int bufferSize)
protected String getContext()
public boolean changeToInitialDirectory()
changeToInitialDirectory
in interface jenkins.plugins.publish_over.BPClient<CifsTransfer>
changeToInitialDirectory
in class jenkins.plugins.publish_over.BPDefaultClient<CifsTransfer>
public boolean changeDirectory(String directory)
public boolean makeDirectory(String directory)
public void deleteTree() throws IOException
deleteTree
in interface jenkins.plugins.publish_over.BPClient<CifsTransfer>
deleteTree
in class jenkins.plugins.publish_over.BPDefaultClient<CifsTransfer>
IOException
public void beginTransfers(CifsTransfer transfer)
beginTransfers
in interface jenkins.plugins.publish_over.BPClient<CifsTransfer>
beginTransfers
in class jenkins.plugins.publish_over.BPDefaultClient<CifsTransfer>
public void transferFile(CifsTransfer transfer, FilePath filePath, InputStream content) throws IOException
IOException
public void disconnect()
public void disconnectQuietly()
protected jcifs.smb.SmbFile createSmbFile(String url) throws MalformedURLException
MalformedURLException
Copyright © 2016–2020. All rights reserved.