Interface CustomizableSshSessionFactoryCommand
-
- All Known Implementing Classes:
JGitBranchCommand
,JGitCheckInCommand
,JGitCheckOutCommand
,JGitTagCommand
,JGitUntagCommand
public interface CustomizableSshSessionFactoryCommand
Supplemental interface for commands that potentially involve a remote server communication. It allows to customize the SSH session factory being used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier)
Sets a different supplier for the SSH session factory that will be used by this command.
-
-
-
Method Detail
-
setSshSessionFactorySupplier
void setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier)
Sets a different supplier for the SSH session factory that will be used by this command. By default it usesScmProviderAwareSshdSessionFactory
.- Parameters:
sshSessionFactorySupplier
- a function that takes a GitScmProviderRepository and Logger and returns a ScmProviderAwareSshdSessionFactory
-
-