Package org.apache.sshd.git.pack
Class GitPackCommandFactory
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.server.command.AbstractDelegatingCommandFactory
org.apache.sshd.git.AbstractGitCommandFactory
org.apache.sshd.git.pack.GitPackCommandFactory
- All Implemented Interfaces:
org.apache.sshd.common.util.threads.ExecutorServiceProvider
,GitLocationResolverCarrier
,org.apache.sshd.server.command.CommandFactory
TODO Add javadoc
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGitCommand
(String command) withDelegate
(org.apache.sshd.server.command.CommandFactory delegate) withExecutorServiceProvider
(Supplier<? extends org.apache.sshd.common.util.threads.CloseableExecutorService> provider) withGitLocationResolver
(GitLocationResolver rootDirResolver) Methods inherited from class org.apache.sshd.git.AbstractGitCommandFactory
createUnsupportedCommand, executeSupportedCommand, getCommandPrefix, getExecutorServiceProvider, getGitLocationResolver, isSupportedCommand, resolveExecutorService
Methods inherited from class org.apache.sshd.server.command.AbstractDelegatingCommandFactory
createCommand, getDelegateCommandFactory, setDelegateCommandFactory, toString
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.util.threads.ExecutorServiceProvider
resolveExecutorService
-
Field Details
-
GIT_FACTORY_NAME
- See Also:
-
GIT_COMMAND_PREFIX
- See Also:
-
-
Constructor Details
-
GitPackCommandFactory
public GitPackCommandFactory() -
GitPackCommandFactory
-
-
Method Details
-
withDelegate
- Overrides:
withDelegate
in classAbstractGitCommandFactory
-
withGitLocationResolver
- Overrides:
withGitLocationResolver
in classAbstractGitCommandFactory
-
withExecutorServiceProvider
public GitPackCommandFactory withExecutorServiceProvider(Supplier<? extends org.apache.sshd.common.util.threads.CloseableExecutorService> provider) - Overrides:
withExecutorServiceProvider
in classAbstractGitCommandFactory
- Parameters:
provider
- ASupplier
ofCloseableExecutorService
to be used when starting a Git command execution. Ifnull
then a single-threaded ad-hoc service is used.- Returns:
- Self instance
-
createGitCommand
- Specified by:
createGitCommand
in classAbstractGitCommandFactory
-