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(ExecutorService service) |
ScpCommandFactory.Builder |
withReceiveBufferSize(int receiveSize) |
ScpCommandFactory.Builder |
withSendBufferSize(int sendSize) |
ScpCommandFactory.Builder |
withShutdownOnExit(boolean shutdown) |
public ScpCommandFactory.Builder withDelegate(CommandFactory delegate)
public ScpCommandFactory.Builder withExecutorService(ExecutorService service)
public ScpCommandFactory.Builder withShutdownOnExit(boolean shutdown)
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–2016 The Apache Software Foundation. All rights reserved.