Class GitwebConfig

java.lang.Object
com.google.gerrit.server.config.GitwebConfig

public class GitwebConfig extends Object
  • Method Details

    • isDisabled

      public static boolean isDisabled(org.eclipse.jgit.lib.Config cfg)
    • getGitwebType

      public GitwebType getGitwebType()
      Returns GitwebType for gitweb viewer.
    • getUrl

      public String getUrl()
      Returns URL of the entry point into gitweb. This URL may be relative to our context if gitweb is hosted by ourselves; or absolute if its hosted elsewhere; or null if gitweb has not been configured.