public class CifsHostConfiguration extends jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
Modifier and Type | Class and Description |
---|---|
static class |
CifsHostConfiguration.SmbVersions |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY_DISABLE_SMB1 |
static String |
CONFIG_PROPERTY_ENABLE_SMB2 |
static String |
CONFIG_PROPERTY_RESOLVE_ORDER |
static String |
CONFIG_PROPERTY_SO_TIMEOUT |
static String |
CONFIG_PROPERTY_TIMEOUT |
static String |
CONFIG_PROPERTY_WINS |
static int |
DEFAULT_BUFFER_SIZE |
static int |
DEFAULT_PORT |
static int |
DEFAULT_TIMEOUT |
static String |
SMB_URL_PREFIX |
static int |
SO_TIMEOUT_AFTER |
Constructor and Description |
---|
CifsHostConfiguration(String name,
String hostname,
String username,
String password,
String remoteRootDir,
int port,
int timeout,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang.builder.EqualsBuilder |
addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
CifsHostConfiguration 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) |
CifsClient |
createClient(jenkins.plugins.publish_over.BPBuildInfo buildInfo) |
protected jcifs.smb.SmbFile |
createSmbFile(jcifs.CIFSContext context,
String url) |
boolean |
equals(Object that) |
int |
getBufferSize() |
static int |
getDefaultBufferSize() |
static int |
getDefaultPort() |
static int |
getDefaultTimeout() |
protected String |
getPassword() |
CifsHostConfiguration.SmbVersions |
getSmbVersion() |
int |
getTimeout() |
int |
hashCode() |
Object |
readResolve() |
void |
setBufferSize(int bufferSize) |
void |
setSmbVersion(CifsHostConfiguration.SmbVersions smbVersion) |
void |
setTimeout(int timeout) |
String |
toString() |
addToEquals, changeToRootDirectory, createClient, exception, getCommonConfig, getEncryptedPassword, getHostname, getHostnameTrimmed, getName, getPort, getRemoteRootDir, getUsername, isDirectoryAbsolute, setCommonConfig, setHostname, setName, setPassword, setPort, setRemoteRootDir, setUsername
public static final String SMB_URL_PREFIX
public static final int DEFAULT_PORT
public static final int DEFAULT_TIMEOUT
public static final int SO_TIMEOUT_AFTER
public static final int DEFAULT_BUFFER_SIZE
public static final String CONFIG_PROPERTY_TIMEOUT
public static final String CONFIG_PROPERTY_SO_TIMEOUT
public static final String CONFIG_PROPERTY_WINS
public static final String CONFIG_PROPERTY_RESOLVE_ORDER
public static final String CONFIG_PROPERTY_ENABLE_SMB2
public static final String CONFIG_PROPERTY_DISABLE_SMB1
public static int getDefaultPort()
public static int getDefaultTimeout()
public static int getDefaultBufferSize()
protected final String getPassword()
getPassword
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
public CifsHostConfiguration.SmbVersions getSmbVersion()
@DataBoundSetter public void setSmbVersion(CifsHostConfiguration.SmbVersions smbVersion)
public int getTimeout()
@DataBoundSetter public void setTimeout(int timeout)
public int getBufferSize()
@DataBoundSetter public void setBufferSize(int bufferSize)
public CifsClient createClient(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
createClient
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
protected jcifs.smb.SmbFile createSmbFile(jcifs.CIFSContext context, String url) throws MalformedURLException
MalformedURLException
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
addToHashCode
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, CifsHostConfiguration that)
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
addToToString
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
public boolean equals(Object that)
equals
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
public int hashCode()
hashCode
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
public String toString()
toString
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
public Object readResolve()
readResolve
in class jenkins.plugins.publish_over.BPHostConfiguration<CifsClient,Object>
Copyright © 2016–2020. All rights reserved.