Package com.google.gerrit.server.notedb
Class NoteDbUpdateManager.OpenRepo
- java.lang.Object
- 
- com.google.gerrit.server.notedb.NoteDbUpdateManager.OpenRepo
 
- 
- All Implemented Interfaces:
- AutoCloseable
 - Enclosing class:
- NoteDbUpdateManager
 
 public static class NoteDbUpdateManager.OpenRepo extends Object implements AutoCloseable 
- 
- 
Field SummaryFields Modifier and Type Field Description ChainedReceiveCommandscmdsorg.eclipse.jgit.lib.Repositoryrepoorg.eclipse.jgit.revwalk.RevWalkrw
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Optional<org.eclipse.jgit.lib.ObjectId>getObjectId(String refName)
 
- 
- 
- 
Field Detail- 
repopublic final org.eclipse.jgit.lib.Repository repo 
 - 
rwpublic final org.eclipse.jgit.revwalk.RevWalk rw 
 - 
cmdspublic final ChainedReceiveCommands cmds 
 
- 
 - 
Method Detail- 
getObjectIdpublic Optional<org.eclipse.jgit.lib.ObjectId> getObjectId(String refName) throws IOException - Throws:
- IOException
 
 - 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
 
 
- 
 
-