public static class ScpCommandFactory.Builder extends Object implements ObjectBuilder<ScpCommandFactory>
ObjectBuilder
for ScpCommandFactory
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScpCommandFactory.Builder |
addEventListener(ScpTransferEventListener listener) |
ScpCommandFactory |
build() |
ScpCommandFactory.Builder |
removeEventListener(ScpTransferEventListener listener) |
ScpCommandFactory.Builder |
withDelegate(CommandFactory delegate) |
ScpCommandFactory.Builder |
withDelegateShellFactory(ShellFactory shellFactory) |
ScpCommandFactory.Builder |
withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) |
ScpCommandFactory.Builder |
withFileOpener(ScpFileOpener opener) |
ScpCommandFactory.Builder |
withReceiveBufferSize(int receiveSize) |
ScpCommandFactory.Builder |
withSendBufferSize(int sendSize) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public ScpCommandFactory.Builder withFileOpener(ScpFileOpener opener)
public ScpCommandFactory.Builder withDelegate(CommandFactory delegate)
public ScpCommandFactory.Builder withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider)
public ScpCommandFactory.Builder withSendBufferSize(int sendSize)
public ScpCommandFactory.Builder withReceiveBufferSize(int receiveSize)
public ScpCommandFactory.Builder addEventListener(ScpTransferEventListener listener)
public ScpCommandFactory.Builder removeEventListener(ScpTransferEventListener listener)
public ScpCommandFactory.Builder withDelegateShellFactory(ShellFactory shellFactory)
public ScpCommandFactory build()
build
in interface ObjectBuilder<ScpCommandFactory>
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.