Package org.apache.sshd.scp.server
Class ScpCommandFactory.Builder
java.lang.Object
org.apache.sshd.scp.server.ScpCommandFactory.Builder
- All Implemented Interfaces:
Supplier<ScpCommandFactory>,org.apache.sshd.common.util.ObjectBuilder<ScpCommandFactory>
- Enclosing class:
- ScpCommandFactory
public static class ScpCommandFactory.Builder
extends Object
implements org.apache.sshd.common.util.ObjectBuilder<ScpCommandFactory>
A useful
ObjectBuilder for ScpCommandFactory-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventListener(ScpTransferEventListener listener) build()removeEventListener(ScpTransferEventListener listener) withDelegate(CommandFactory delegate) withDelegateShellFactory(ShellFactory shellFactory) withExecutorServiceProvider(Supplier<? extends org.apache.sshd.common.util.threads.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withFileOpener
-
withDelegate
-
withExecutorServiceProvider
public ScpCommandFactory.Builder withExecutorServiceProvider(Supplier<? extends org.apache.sshd.common.util.threads.CloseableExecutorService> provider) -
withSendBufferSize
-
withReceiveBufferSize
-
addEventListener
-
removeEventListener
-
withDelegateShellFactory
-
build
- Specified by:
buildin interfaceorg.apache.sshd.common.util.ObjectBuilder<ScpCommandFactory>
-