Class GitModuleConfigBuilder


  • public final class GitModuleConfigBuilder
    extends java.lang.Object
    Builder for creating Git specific configuration. You can either specify the CredentialsProvider or SshSessionFactory.
    • Method Detail

      • builder

        public static GitModuleConfigBuilder builder()
        Create a builder to create the Google config.
        Returns:
        a builder to create the Google config.
      • getCredentials

        public org.eclipse.jgit.transport.CredentialsProvider getCredentials()
        Get the credentials.
        Returns:
        the credentials.
      • setCredentials

        public GitModuleConfigBuilder setCredentials​(org.eclipse.jgit.transport.CredentialsProvider credentials)
        Sets the credentials.
        Parameters:
        credentials - the credentials.
        Returns:
        the builder
      • getSshSessionFactory

        public org.eclipse.jgit.transport.SshSessionFactory getSshSessionFactory()
        Get the SshSessionFactory.
        Returns:
        the SshSessionFactory
      • setSshSessionFactory

        public GitModuleConfigBuilder setSshSessionFactory​(org.eclipse.jgit.transport.SshSessionFactory sshSessionFactory)
        Set the SshSessionFactory.
        Parameters:
        sshSessionFactory - the SshSessionFactory
        Returns:
        the builder.