Package com.google.gerrit.pgm.init.api
Class GitRepositoryManagerOnInit
java.lang.Object
com.google.gerrit.pgm.init.api.GitRepositoryManagerOnInit
- All Implemented Interfaces:
- GitRepositoryManager
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.google.gerrit.server.git.GitRepositoryManagerGitRepositoryManager.Status
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.jgit.lib.RepositoryCreate (and open) a repository by name.GetGitRepositoryManager.Statusof the repository by name.list()Returns set of all known projects, sorted by natural NameKey order.org.eclipse.jgit.lib.RepositoryGet (or open) a repository by name.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.server.git.GitRepositoryManagercanPerformGC, repositoryDeleted
- 
Method Details- 
getRepositoryStatusDescription copied from interface:GitRepositoryManagerGetGitRepositoryManager.Statusof the repository by name.- Specified by:
- getRepositoryStatusin interface- GitRepositoryManager
 
- 
openRepositorypublic org.eclipse.jgit.lib.Repository openRepository(Project.NameKey name) throws org.eclipse.jgit.errors.RepositoryNotFoundException, IOException Description copied from interface:GitRepositoryManagerGet (or open) a repository by name.- Specified by:
- openRepositoryin interface- GitRepositoryManager
- Parameters:
- name- the repository name, relative to the base directory.
- Returns:
- the cached Repository instance. Caller must call close()when done to decrement the resource handle.
- Throws:
- org.eclipse.jgit.errors.RepositoryNotFoundException- the name does not denote an existing repository.
- IOException- the name cannot be read as a repository.
 
- 
createRepositoryDescription copied from interface:GitRepositoryManagerCreate (and open) a repository by name.- Specified by:
- createRepositoryin interface- GitRepositoryManager
- Parameters:
- name- the repository name, relative to the base directory.
- Returns:
- the cached Repository instance. Caller must call close()when done to decrement the resource handle.
 
- 
listDescription copied from interface:GitRepositoryManagerReturns set of all known projects, sorted by natural NameKey order.- Specified by:
- listin interface- GitRepositoryManager
 
 
-