Package org.eclipse.jgit.transport.sshd
Interface SshdSessionFactoryBuilder.ConfigStoreFactory
-
- Enclosing class:
- SshdSessionFactoryBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface SshdSessionFactoryBuilder.ConfigStoreFactory
A factory interface for creating aSshConfigStore
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SshConfigStore
create(File homeDir, File configFile, String localUserName)
Creates aSshConfigStore
.
-
-
-
Method Detail
-
create
SshConfigStore create(@NonNull File homeDir, File configFile, String localUserName)
Creates aSshConfigStore
. May returnnull
if none is to be used.- Parameters:
homeDir
- to use for ~-replacementsconfigFile
- to use, may benull
if nonelocalUserName
- name of the current user in the local OS- Returns:
- the
SshConfigStore
, ornull
if none is to be used
-
-