Package org.apache.sshd.scp.server
Class ScpCommandFactory.Builder
java.lang.Object
org.apache.sshd.scp.server.ScpCommandFactory.Builder
- All Implemented Interfaces:
Supplier<ScpCommandFactory>,ObjectBuilder<ScpCommandFactory>
- Enclosing class:
ScpCommandFactory
public static class ScpCommandFactory.Builder
extends Object
implements ObjectBuilder<ScpCommandFactory>
A useful
ObjectBuilder for ScpCommandFactory-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventListener(ScpTransferEventListener listener) build()removeEventListener(ScpTransferEventListener listener) withDelegate(CommandFactory delegate) withDelegateShellFactory(ShellFactory shellFactory) withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) withFileOpener(ScpFileOpener opener) withReceiveBufferSize(int receiveSize) withSendBufferSize(int sendSize) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.common.util.ObjectBuilder
get
-
Field Details
-
factory
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withFileOpener
-
withDelegate
-
withExecutorServiceProvider
public ScpCommandFactory.Builder withExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) -
withSendBufferSize
-
withReceiveBufferSize
-
addEventListener
-
removeEventListener
-
withDelegateShellFactory
-
build
- Specified by:
buildin interfaceObjectBuilder<ScpCommandFactory>
-