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 |
withExecutorService(CloseableExecutorService service) |
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 withExecutorService(CloseableExecutorService service)
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 build()
build
in interface ObjectBuilder<ScpCommandFactory>
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.