public static class SftpSubsystemFactory.Builder extends AbstractSftpEventListenerManager implements ObjectBuilder<SftpSubsystemFactory>
Modifier and Type | Field and Description |
---|---|
private SftpErrorStatusDataHandler |
errorStatusDataHandler |
private CloseableExecutorService |
executors |
private SftpFileSystemAccessor |
fileSystemAccessor |
private UnsupportedAttributePolicy |
policy |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SftpSubsystemFactory |
build() |
SftpSubsystemFactory.Builder |
withExecutorService(CloseableExecutorService service) |
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 CloseableExecutorService executors
private UnsupportedAttributePolicy policy
private SftpFileSystemAccessor fileSystemAccessor
private SftpErrorStatusDataHandler errorStatusDataHandler
public SftpSubsystemFactory.Builder withExecutorService(CloseableExecutorService service)
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>