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 ChannelDataReceiverprivate SftpErrorStatusDataHandlerprivate Supplier<? extends CloseableExecutorService> private SftpFileSystemAccessorprivate UnsupportedAttributePolicy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) withFileSystemAccessor(SftpFileSystemAccessor accessor) Methods inherited from class AbstractSftpEventListenerManager
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
buildin interfaceObjectBuilder<SftpSubsystemFactory>
-