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
Nested ClassesModifier 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
ConstructorsConstructorDescriptionSshOverrideTransferDefaults(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 TypeMethodDescriptionintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisUsePty()voidsetUseAgentForwarding(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:
getExecCommandin interfaceSshTransferOptions
-
getExecTimeout
public int getExecTimeout()- Specified by:
getExecTimeoutin interfaceSshTransferOptions
-
getSourceFiles
- Specified by:
getSourceFilesin interfacejenkins.plugins.publish_over.options.TransferOptions
-
getRemovePrefix
- Specified by:
getRemovePrefixin interfacejenkins.plugins.publish_over.options.TransferOptions
-
getRemoteDirectory
- Specified by:
getRemoteDirectoryin interfacejenkins.plugins.publish_over.options.TransferOptions
-
getExcludes
- Specified by:
getExcludesin interfacejenkins.plugins.publish_over.options.TransferOptions
-
isRemoteDirectorySDF
public boolean isRemoteDirectorySDF()- Specified by:
isRemoteDirectorySDFin interfacejenkins.plugins.publish_over.options.TransferOptions
-
isFlatten
public boolean isFlatten()- Specified by:
isFlattenin interfacejenkins.plugins.publish_over.options.TransferOptions
-
isCleanRemote
public boolean isCleanRemote()- Specified by:
isCleanRemotein interfacejenkins.plugins.publish_over.options.TransferOptions
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<SshOverrideTransferDefaults>
-
isUsePty
public boolean isUsePty()- Specified by:
isUsePtyin interfaceSshTransferOptions
-
isUseAgentForwarding
public boolean isUseAgentForwarding()- Specified by:
isUseAgentForwardingin 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:
isNoDefaultExcludesin interfacejenkins.plugins.publish_over.options.TransferOptions
-
isMakeEmptyDirs
public boolean isMakeEmptyDirs()- Specified by:
isMakeEmptyDirsin interfacejenkins.plugins.publish_over.options.TransferOptions
-
getPatternSeparator
- Specified by:
getPatternSeparatorin interfacejenkins.plugins.publish_over.options.TransferOptions
-