public class BPTransfer extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BPTransfer.TransferState |
Constructor and Description |
---|
BPTransfer(String sourceFiles,
String excludes,
String remoteDirectory,
String removePrefix,
boolean remoteDirectorySDF,
boolean flatten) |
BPTransfer(String sourceFiles,
String excludes,
String remoteDirectory,
String removePrefix,
boolean remoteDirectorySDF,
boolean flatten,
boolean cleanRemote,
boolean noDefaultExcludes,
boolean makeEmptyDirs,
String patternSeparator) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang.builder.EqualsBuilder |
addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
BPTransfer that) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder) |
protected org.apache.commons.lang.builder.ToStringBuilder |
addToToString(org.apache.commons.lang.builder.ToStringBuilder builder) |
boolean |
equals(Object that) |
String |
getExcludes() |
String |
getPatternSeparator() |
String |
getRemoteDirectory() |
String |
getRemovePrefix() |
String |
getSourceFiles() |
FileFinderResult |
getSourceFiles(BPBuildInfo buildInfo) |
boolean |
hasConfiguredSourceFiles() |
int |
hashCode() |
boolean |
isCleanRemote() |
boolean |
isFlatten() |
boolean |
isMakeEmptyDirs() |
boolean |
isNoDefaultExcludes() |
boolean |
isRemoteDirectorySDF() |
String |
toString() |
int |
transfer(BPBuildInfo buildInfo,
BPClient client) |
int |
transfer(BPBuildInfo buildInfo,
BPClient client,
BPTransfer.TransferState state) |
void |
transferFile(BPClient client,
hudson.FilePath filePath) |
public BPTransfer(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten)
public String getRemoteDirectory()
public String getSourceFiles()
public String getExcludes()
public String getRemovePrefix()
public boolean isRemoteDirectorySDF()
public boolean isFlatten()
public boolean isCleanRemote()
public boolean isNoDefaultExcludes()
public boolean isMakeEmptyDirs()
public String getPatternSeparator()
public boolean hasConfiguredSourceFiles()
public FileFinderResult getSourceFiles(BPBuildInfo buildInfo) throws IOException, InterruptedException
IOException
InterruptedException
public int transfer(BPBuildInfo buildInfo, BPClient client) throws Exception
Exception
public int transfer(BPBuildInfo buildInfo, BPClient client, BPTransfer.TransferState state)
public void transferFile(BPClient client, hudson.FilePath filePath) throws Exception
Exception
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BPTransfer that)
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
Copyright © 2016–2018. All rights reserved.