Package com.google.gerrit.server.config
Class GitwebConfig
- java.lang.Object
-
- com.google.gerrit.server.config.GitwebConfig
-
public class GitwebConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitwebConfig.LegacyModule
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GitwebType
getGitwebType()
Returns GitwebType for gitweb viewer.String
getUrl()
Returns URL of the entry point into gitweb.static boolean
isDisabled(org.eclipse.jgit.lib.Config cfg)
-
-
-
Method Detail
-
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.
-
-