Class SftpSubsystemFactory.Builder
- java.lang.Object
-
- org.apache.sshd.server.subsystem.sftp.AbstractSftpEventListenerManager
-
- org.apache.sshd.server.subsystem.sftp.SftpSubsystemFactory.Builder
-
- All Implemented Interfaces:
java.util.function.Supplier<SftpSubsystemFactory>
,ObjectBuilder<SftpSubsystemFactory>
,SftpEventListenerManager
- Enclosing class:
- SftpSubsystemFactory
public static class SftpSubsystemFactory.Builder extends AbstractSftpEventListenerManager implements ObjectBuilder<SftpSubsystemFactory>
-
-
Field Summary
Fields Modifier and Type Field Description private SftpErrorStatusDataHandler
errorStatusDataHandler
private java.util.function.Supplier<? extends CloseableExecutorService>
executorsProvider
private SftpFileSystemAccessor
fileSystemAccessor
private UnsupportedAttributePolicy
policy
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SftpSubsystemFactory
build()
SftpSubsystemFactory.Builder
withExecutorServiceProvider(java.util.function.Supplier<? extends CloseableExecutorService> provider)
SftpSubsystemFactory.Builder
withFileSystemAccessor(SftpFileSystemAccessor accessor)
SftpSubsystemFactory.Builder
withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler)
SftpSubsystemFactory.Builder
withUnsupportedAttributePolicy(UnsupportedAttributePolicy p)
-
Methods inherited from class org.apache.sshd.server.subsystem.sftp.AbstractSftpEventListenerManager
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.util.ObjectBuilder
get
-
-
-
-
Field Detail
-
executorsProvider
private java.util.function.Supplier<? extends CloseableExecutorService> executorsProvider
-
policy
private UnsupportedAttributePolicy policy
-
fileSystemAccessor
private SftpFileSystemAccessor fileSystemAccessor
-
errorStatusDataHandler
private SftpErrorStatusDataHandler errorStatusDataHandler
-
-
Method Detail
-
withExecutorServiceProvider
public SftpSubsystemFactory.Builder withExecutorServiceProvider(java.util.function.Supplier<? extends CloseableExecutorService> provider)
-
withUnsupportedAttributePolicy
public SftpSubsystemFactory.Builder withUnsupportedAttributePolicy(UnsupportedAttributePolicy p)
-
withFileSystemAccessor
public SftpSubsystemFactory.Builder withFileSystemAccessor(SftpFileSystemAccessor accessor)
-
withSftpErrorStatusDataHandler
public SftpSubsystemFactory.Builder withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler)
-
build
public SftpSubsystemFactory build()
- Specified by:
build
in interfaceObjectBuilder<SftpSubsystemFactory>
-
-