public static class SftpSubsystemFactory.Builder extends AbstractSftpEventListenerManager implements ObjectBuilder<SftpSubsystemFactory>
Modifier and Type | Field and Description |
---|---|
private SftpErrorStatusDataHandler |
errorStatusDataHandler |
private java.util.function.Supplier<? extends CloseableExecutorService> |
executorsProvider |
private SftpFileSystemAccessor |
fileSystemAccessor |
private UnsupportedAttributePolicy |
policy |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
private java.util.function.Supplier<? extends CloseableExecutorService> executorsProvider
private UnsupportedAttributePolicy policy
private SftpFileSystemAccessor fileSystemAccessor
private SftpErrorStatusDataHandler errorStatusDataHandler
public SftpSubsystemFactory.Builder withExecutorServiceProvider(java.util.function.Supplier<? extends CloseableExecutorService> provider)
public SftpSubsystemFactory.Builder withUnsupportedAttributePolicy(UnsupportedAttributePolicy p)
public SftpSubsystemFactory.Builder withFileSystemAccessor(SftpFileSystemAccessor accessor)
public SftpSubsystemFactory.Builder withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler)
public SftpSubsystemFactory build()
build
in interface ObjectBuilder<SftpSubsystemFactory>