Package com.adaptris.filesystem.smbj
Class ExtendedConfig
- java.lang.Object
-
- com.adaptris.filesystem.smbj.ExtendedConfig
-
- All Implemented Interfaces:
ConfigProvider
@ComponentProfile(summary="Extended SMB configuration") public class ExtendedConfig extends java.lang.Object implements ConfigProvider
Exposes additional seetings for SMB configuration.Generally if they are set, then the underlying
SmbConfig#builder()
will have those things set against it. No validation is done on the values and you should consult the Microsoft documentation to see what they mean.In the adapter configuration file this class is aliased as smb-extended-config which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description ExtendedConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getBufferSize()
Effectively sets the Read/Write/Transact Buffersize.java.lang.Boolean
getDfsEnabled()
java.lang.Boolean
getMultiProtocolNegotiate()
java.lang.Boolean
getSigningRequired()
TimeInterval
getSoTimeout()
TimeInterval
getTimeout()
Effectively sets the Read/Write/Transact timeout.java.lang.String
getWorkstationName()
void
setBufferSize(java.lang.Integer bufferSize)
Effectively sets the Read/Write/Transact Buffersize.void
setDfsEnabled(java.lang.Boolean dfsEnabled)
void
setMultiProtocolNegotiate(java.lang.Boolean multiProtocolNegotiate)
void
setSigningRequired(java.lang.Boolean signingRequired)
void
setSoTimeout(TimeInterval soTimeout)
void
setTimeout(TimeInterval timeout)
Effectively sets the Read/Write/Transact timeout.void
setWorkstationName(java.lang.String workstationName)
com.hierynomus.smbj.SmbConfig
smbConfig()
-
-
-
Method Detail
-
smbConfig
public com.hierynomus.smbj.SmbConfig smbConfig() throws java.lang.Exception
- Specified by:
smbConfig
in interfaceConfigProvider
- Throws:
java.lang.Exception
-
getWorkstationName
public java.lang.String getWorkstationName()
-
setWorkstationName
public void setWorkstationName(java.lang.String workstationName)
-
getSigningRequired
public java.lang.Boolean getSigningRequired()
-
setSigningRequired
public void setSigningRequired(java.lang.Boolean signingRequired)
-
getDfsEnabled
public java.lang.Boolean getDfsEnabled()
-
setDfsEnabled
public void setDfsEnabled(java.lang.Boolean dfsEnabled)
-
getMultiProtocolNegotiate
public java.lang.Boolean getMultiProtocolNegotiate()
-
setMultiProtocolNegotiate
public void setMultiProtocolNegotiate(java.lang.Boolean multiProtocolNegotiate)
-
getBufferSize
public java.lang.Integer getBufferSize()
Effectively sets the Read/Write/Transact Buffersize.
-
setBufferSize
public void setBufferSize(java.lang.Integer bufferSize)
Effectively sets the Read/Write/Transact Buffersize.
-
getSoTimeout
public TimeInterval getSoTimeout()
-
setSoTimeout
public void setSoTimeout(TimeInterval soTimeout)
-
getTimeout
public TimeInterval getTimeout()
Effectively sets the Read/Write/Transact timeout.
-
setTimeout
public void setTimeout(TimeInterval timeout)
Effectively sets the Read/Write/Transact timeout.
-
-