Package com.google.gerrit.server.project
Class ProjectConfig.Factory
- java.lang.Object
-
- com.google.gerrit.server.project.ProjectConfig.Factory
-
- Enclosing class:
- ProjectConfig
public static class ProjectConfig.Factory extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectConfig
create(Project.NameKey projectName)
ProjectConfig
read(MetaDataUpdate update)
ProjectConfig
read(MetaDataUpdate update, org.eclipse.jgit.lib.ObjectId id)
ProjectConfig
read(org.eclipse.jgit.lib.Repository repo, Project.NameKey name)
-
-
-
Method Detail
-
create
public ProjectConfig create(Project.NameKey projectName)
-
read
public ProjectConfig read(MetaDataUpdate update) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
read
public ProjectConfig read(MetaDataUpdate update, org.eclipse.jgit.lib.ObjectId id) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
read
public ProjectConfig read(org.eclipse.jgit.lib.Repository repo, Project.NameKey name) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-