Package com.google.gerrit.server.config
Class PluginConfig.Update
java.lang.Object
com.google.gerrit.server.config.PluginConfig.Update
- Enclosing class:
- PluginConfig
Mutable representation of
PluginConfig
. Used for updates.-
Constructor Summary
ConstructorsConstructorDescriptionUpdate
(String pluginName, org.eclipse.jgit.lib.Config cfg, Optional<ProjectConfig> projectConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginConfig.Update
boolean
getBoolean
(String name, boolean defaultValue) <T extends Enum<?>>
T<T extends Enum<?>>
Tint
long
getNames()
String[]
getStringList
(String name) void
setBoolean
(String name, boolean value) <T extends Enum<?>>
voidvoid
setGroupReference
(String name, GroupReference value) void
void
void
void
setStringList
(String name, List<String> values) void
-
Constructor Details
-
Update
public Update(String pluginName, org.eclipse.jgit.lib.Config cfg, Optional<ProjectConfig> projectConfig)
-
-
Method Details
-
forTest
-
asPluginConfig
-
getString
-
getString
-
getStringList
-
getInt
-
getLong
-
getBoolean
-
getEnum
-
getEnum
-
getNames
-
setString
-
setStringList
-
setInt
-
setLong
-
setBoolean
-
setEnum
-
unset
-
setGroupReference
-