Package org.apache.sshd.sftp.server
Class SftpSubsystemFactory.Builder
java.lang.Object
org.apache.sshd.sftp.server.AbstractSftpEventListenerManager
org.apache.sshd.sftp.server.SftpSubsystemFactory.Builder
- All Implemented Interfaces:
Supplier<SftpSubsystemFactory>
,ObjectBuilder<SftpSubsystemFactory>
,SftpEventListenerManager
- Enclosing class:
- SftpSubsystemFactory
public static class SftpSubsystemFactory.Builder
extends AbstractSftpEventListenerManager
implements ObjectBuilder<SftpSubsystemFactory>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelDataReceiver
private SftpErrorStatusDataHandler
private Supplier<? extends CloseableExecutorService>
private SftpFileSystemAccessor
private UnsupportedAttributePolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withExecutorServiceProvider
(Supplier<? extends CloseableExecutorService> provider) withFileSystemAccessor
(SftpFileSystemAccessor accessor) Methods inherited from class org.apache.sshd.sftp.server.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 Details
-
executorsProvider
-
policy
-
fileSystemAccessor
-
errorStatusDataHandler
-
errorChannelDataReceiver
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withExecutorServiceProvider
public SftpSubsystemFactory.Builder withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) -
withUnsupportedAttributePolicy
-
withFileSystemAccessor
-
withSftpErrorStatusDataHandler
public SftpSubsystemFactory.Builder withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler) -
withErrorChannelDataReceiver
-
build
- Specified by:
build
in interfaceObjectBuilder<SftpSubsystemFactory>
-