Package com.google.gerrit.server.config
Class PluginConfig
java.lang.Object
com.google.gerrit.server.config.PluginConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.eclipse.jgit.lib.Config
cfg()
static PluginConfig
create
(String pluginName, org.eclipse.jgit.lib.Config cfg, CachedProjectConfig projectConfig) static PluginConfig
createFromGerritConfig
(String pluginName, org.eclipse.jgit.lib.Config cfg) boolean
getBoolean
(String name, boolean defaultValue) <T extends Enum<?>>
T<T extends Enum<?>>
TgetGroupReference
(String name) int
long
getNames()
String[]
getStringList
(String name) protected abstract com.google.common.collect.ImmutableMap<AccountGroup.UUID,
GroupReference> Mappings parsed fromgroups
files.protected abstract String
protected abstract Optional<CachedProjectConfig>
-
Constructor Details
-
PluginConfig
public PluginConfig()
-
-
Method Details
-
pluginName
-
cfg
protected abstract org.eclipse.jgit.lib.Config cfg() -
projectConfig
-
groupReferences
protected abstract com.google.common.collect.ImmutableMap<AccountGroup.UUID,GroupReference> groupReferences()Mappings parsed fromgroups
files. -
create
public static PluginConfig create(String pluginName, org.eclipse.jgit.lib.Config cfg, CachedProjectConfig projectConfig) -
createFromGerritConfig
public static PluginConfig createFromGerritConfig(String pluginName, org.eclipse.jgit.lib.Config cfg) -
getString
-
getString
-
getStringList
-
getInt
-
getLong
-
getBoolean
-
getEnum
-
getEnum
-
getNames
-
getGroupReference
-