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.ConfigStoreFactoryA factory interface for creating a @link SshConfigStore}.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SshConfigStorecreate(java.io.File homeDir, java.io.File configFile, java.lang.String localUserName)Creates aSshConfigStore.
-
-
-
Method Detail
-
create
SshConfigStore create(@NonNull java.io.File homeDir, java.io.File configFile, java.lang.String localUserName)
Creates aSshConfigStore. May returnnullif none is to be used.- Parameters:
homeDir- to use for ~-replacementsconfigFile- to use, may benullif nonelocalUserName- name of the current user in the local OS- Returns:
- the
SshConfigStore, ornullif none is to be used
-
-