Package com.google.gerrit.server.config
Class GitwebConfig
java.lang.Object
com.google.gerrit.server.config.GitwebConfig
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns GitwebType for gitweb viewer.getUrl()
Returns URL of the entry point into gitweb.static boolean
isDisabled
(org.eclipse.jgit.lib.Config cfg)
-
Method Details
-
isDisabled
public static boolean isDisabled(org.eclipse.jgit.lib.Config cfg) -
getGitwebType
Returns GitwebType for gitweb viewer. -
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.
-