Class SshOverrideTransferDefaults
java.lang.Object
jenkins.plugins.publish_over_ssh.options.SshOverrideTransferDefaults
- All Implemented Interfaces:
Describable<SshOverrideTransferDefaults>
,SshTransferOptions
,jenkins.plugins.publish_over.options.TransferOptions
public class SshOverrideTransferDefaults
extends Object
implements SshTransferOptions, Describable<SshOverrideTransferDefaults>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from interface jenkins.plugins.publish_over_ssh.options.SshTransferOptions
DEFAULT_EXEC_TIMEOUT, DEFAULT_USE_AGENT_FORWARDING, DEFAULT_USE_PTY
-
Constructor Summary
ConstructorDescriptionSshOverrideTransferDefaults
(String sourceFiles, String excludes, String removePrefix, String remoteDirectory, boolean flatten, boolean remoteDirectorySDF, boolean cleanRemote, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isUsePty()
void
setUseAgentForwarding
(boolean value)
-
Constructor Details
-
SshOverrideTransferDefaults
@DataBoundConstructor public SshOverrideTransferDefaults(String sourceFiles, String excludes, String removePrefix, String remoteDirectory, boolean flatten, boolean remoteDirectorySDF, boolean cleanRemote, String execCommand, int execTimeout, boolean usePty, boolean keepFilePermissions, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator)
-
-
Method Details
-
getExecCommand
- Specified by:
getExecCommand
in interfaceSshTransferOptions
-
getExecTimeout
public int getExecTimeout()- Specified by:
getExecTimeout
in interfaceSshTransferOptions
-
getSourceFiles
- Specified by:
getSourceFiles
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
getRemovePrefix
- Specified by:
getRemovePrefix
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
getRemoteDirectory
- Specified by:
getRemoteDirectory
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
getExcludes
- Specified by:
getExcludes
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
isRemoteDirectorySDF
public boolean isRemoteDirectorySDF()- Specified by:
isRemoteDirectorySDF
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
isFlatten
public boolean isFlatten()- Specified by:
isFlatten
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
isCleanRemote
public boolean isCleanRemote()- Specified by:
isCleanRemote
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<SshOverrideTransferDefaults>
-
isUsePty
public boolean isUsePty()- Specified by:
isUsePty
in interfaceSshTransferOptions
-
isUseAgentForwarding
public boolean isUseAgentForwarding()- Specified by:
isUseAgentForwarding
in interfaceSshTransferOptions
-
setUseAgentForwarding
@DataBoundSetter @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setUseAgentForwarding(boolean value) -
isKeepFilePermissions
public boolean isKeepFilePermissions() -
isNoDefaultExcludes
public boolean isNoDefaultExcludes()- Specified by:
isNoDefaultExcludes
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
isMakeEmptyDirs
public boolean isMakeEmptyDirs()- Specified by:
isMakeEmptyDirs
in interfacejenkins.plugins.publish_over.options.TransferOptions
-
getPatternSeparator
- Specified by:
getPatternSeparator
in interfacejenkins.plugins.publish_over.options.TransferOptions
-