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>,org.apache.sshd.common.util.ObjectBuilder<SftpSubsystemFactory>,SftpEventListenerManager
- Enclosing class:
- SftpSubsystemFactory
public static class SftpSubsystemFactory.Builder extends AbstractSftpEventListenerManager implements org.apache.sshd.common.util.ObjectBuilder<SftpSubsystemFactory>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SftpSubsystemFactorybuild()SftpSubsystemFactory.BuilderwithErrorChannelDataReceiver(ChannelDataReceiver receiver)SftpSubsystemFactory.BuilderwithExecutorServiceProvider(Supplier<? extends org.apache.sshd.common.util.threads.CloseableExecutorService> provider)SftpSubsystemFactory.BuilderwithFileSystemAccessor(SftpFileSystemAccessor accessor)SftpSubsystemFactory.BuilderwithSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler)SftpSubsystemFactory.BuilderwithUnsupportedAttributePolicy(UnsupportedAttributePolicy p)-
Methods inherited from class org.apache.sshd.sftp.server.AbstractSftpEventListenerManager
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListener
-
-
-
-
Method Detail
-
withExecutorServiceProvider
public SftpSubsystemFactory.Builder withExecutorServiceProvider(Supplier<? extends org.apache.sshd.common.util.threads.CloseableExecutorService> provider)
-
withUnsupportedAttributePolicy
public SftpSubsystemFactory.Builder withUnsupportedAttributePolicy(UnsupportedAttributePolicy p)
-
withFileSystemAccessor
public SftpSubsystemFactory.Builder withFileSystemAccessor(SftpFileSystemAccessor accessor)
-
withSftpErrorStatusDataHandler
public SftpSubsystemFactory.Builder withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler)
-
withErrorChannelDataReceiver
public SftpSubsystemFactory.Builder withErrorChannelDataReceiver(ChannelDataReceiver receiver)
-
build
public SftpSubsystemFactory build()
- Specified by:
buildin interfaceorg.apache.sshd.common.util.ObjectBuilder<SftpSubsystemFactory>
-
-