public class GitwebConfig extends Object
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.common.data.GitwebType |
getGitwebType() |
String |
getUrl() |
static boolean |
isDisabled(org.eclipse.jgit.lib.Config cfg) |
static com.google.gerrit.common.data.GitwebType |
typeFromConfig(org.eclipse.jgit.lib.Config cfg)
Get a GitwebType based on the given config.
|
public static boolean isDisabled(org.eclipse.jgit.lib.Config cfg)
public static com.google.gerrit.common.data.GitwebType typeFromConfig(org.eclipse.jgit.lib.Config cfg)
cfg
- Gerrit config.public com.google.gerrit.common.data.GitwebType getGitwebType()
public String getUrl()