Interface CustomizableSshSessionFactoryCommand

    • Method Detail

      • setSshSessionFactorySupplier

        void setSshSessionFactorySupplier​(java.util.function.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 uses ScmProviderAwareSshdSessionFactory.
        Parameters:
        sshSessionFactorySupplier - a function that takes a GitScmProviderRepository and Logger and returns a ScmProviderAwareSshdSessionFactory