Package com.google.gerrit.server.project
Class ProjectLevelConfig
java.lang.Object
com.google.gerrit.server.project.ProjectLevelConfig
Configuration file in the projects refs/meta/config branch.
- 
Constructor SummaryConstructorsConstructorDescriptionProjectLevelConfig(String fileName, ProjectState project, ImmutableConfig immutableConfig) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.jgit.lib.Configget()org.eclipse.jgit.lib.Configorg.eclipse.jgit.lib.ConfiggetWithInheritance(boolean merge) Get a Config that includes the values from all parent projects.
- 
Constructor Details- 
ProjectLevelConfigpublic ProjectLevelConfig(String fileName, ProjectState project, @Nullable ImmutableConfig immutableConfig) 
 
- 
- 
Method Details- 
getpublic org.eclipse.jgit.lib.Config get()
- 
getWithInheritancepublic org.eclipse.jgit.lib.Config getWithInheritance()
- 
getWithInheritancepublic org.eclipse.jgit.lib.Config getWithInheritance(boolean merge) Get a Config that includes the values from all parent projects.Merging means that matching sections/subsection will be merged to include the values from both parent and child config. No merging means that matching sections/subsections in the child project will replace the corresponding value from the parent. - Parameters:
- merge- whether to merge parent values with child values or not.
- Returns:
- a combined config.
 
 
-