public static class SftpSubsystemFactory.Builder extends AbstractSftpEventListenerManager implements ObjectBuilder<SftpSubsystemFactory>
Modifier and Type | Field and Description |
---|---|
private SftpErrorStatusDataHandler |
errorStatusDataHandler |
private java.util.concurrent.ExecutorService |
executors |
private SftpFileSystemAccessor |
fileSystemAccessor |
private UnsupportedAttributePolicy |
policy |
private boolean |
shutdownExecutor |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SftpSubsystemFactory |
build() |
SftpSubsystemFactory.Builder |
withExecutorService(java.util.concurrent.ExecutorService service) |
SftpSubsystemFactory.Builder |
withFileSystemAccessor(SftpFileSystemAccessor accessor) |
SftpSubsystemFactory.Builder |
withSftpErrorStatusDataHandler(SftpErrorStatusDataHandler handler) |
SftpSubsystemFactory.Builder |
withShutdownOnExit(boolean shutdown) |
SftpSubsystemFactory.Builder |
withUnsupportedAttributePolicy(UnsupportedAttributePolicy p) |
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
private java.util.concurrent.ExecutorService executors
private boolean shutdownExecutor
private UnsupportedAttributePolicy policy
private SftpFileSystemAccessor fileSystemAccessor
private SftpErrorStatusDataHandler errorStatusDataHandler
public SftpSubsystemFactory.Builder withExecutorService(java.util.concurrent.ExecutorService service)
public SftpSubsystemFactory.Builder withShutdownOnExit(boolean shutdown)
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>