Package jenkins.plugins.publish_over_ssh
Class BapSshTransfer
java.lang.Object
jenkins.plugins.publish_over.BPTransfer
jenkins.plugins.publish_over_ssh.BapSshTransfer
- All Implemented Interfaces:
Describable<BapSshTransfer>
,Serializable
public class BapSshTransfer
extends jenkins.plugins.publish_over.BPTransfer
implements Describable<BapSshTransfer>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.plugins.publish_over.BPTransfer
jenkins.plugins.publish_over.BPTransfer.TransferState
-
Constructor Summary
ConstructorDescriptionBapSshTransfer
(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten, boolean cleanRemote, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator) BapSshTransfer
(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang.builder.EqualsBuilder
addToEquals
(org.apache.commons.lang.builder.EqualsBuilder builder, BapSshTransfer 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
int
boolean
int
hashCode()
boolean
boolean
boolean
isUsePty()
boolean
void
setExecCommand
(String execCommand) void
setExecTimeout
(int execTimeout) void
setKeepFilePermissions
(boolean keepFilePermissions) void
setUseAgentForwarding
(boolean value) void
setUsePty
(boolean usePty) void
setUseSftpForExec
(boolean useSftpForExec) toString()
Methods inherited from class jenkins.plugins.publish_over.BPTransfer
addToEquals, getExcludes, getPatternSeparator, getRemoteDirectory, getRemovePrefix, getSourceFiles, getSourceFiles, hasConfiguredSourceFiles, isCleanRemote, isFlatten, isMakeEmptyDirs, isNoDefaultExcludes, isRemoteDirectorySDF, transfer, transfer, transferFile
-
Constructor Details
-
BapSshTransfer
public BapSshTransfer(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator) -
BapSshTransfer
@DataBoundConstructor public BapSshTransfer(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten, boolean cleanRemote, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator)
-
-
Method Details
-
getExecCommand
-
setExecCommand
-
getExecTimeout
public int getExecTimeout() -
setExecTimeout
@DataBoundSetter public void setExecTimeout(int execTimeout) -
hasExecCommand
public boolean hasExecCommand() -
isUsePty
public boolean isUsePty() -
setUsePty
@DataBoundSetter public void setUsePty(boolean usePty) -
isUseSftpForExec
public boolean isUseSftpForExec() -
setUseSftpForExec
@DataBoundSetter public void setUseSftpForExec(boolean useSftpForExec) -
isUseAgentForwarding
public boolean isUseAgentForwarding() -
setUseAgentForwarding
@DataBoundSetter public void setUseAgentForwarding(boolean value) -
isKeepFilePermissions
public boolean isKeepFilePermissions() -
setKeepFilePermissions
@DataBoundSetter public void setKeepFilePermissions(boolean keepFilePermissions) -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<BapSshTransfer>
-
addToHashCode
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder) - Overrides:
addToHashCode
in classjenkins.plugins.publish_over.BPTransfer
-
addToEquals
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BapSshTransfer that) -
addToToString
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder) - Overrides:
addToToString
in classjenkins.plugins.publish_over.BPTransfer
-
equals
- Overrides:
equals
in classjenkins.plugins.publish_over.BPTransfer
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjenkins.plugins.publish_over.BPTransfer
-
toString
- Overrides:
toString
in classjenkins.plugins.publish_over.BPTransfer
-