Package com.google.gerrit.server.git
Class DelegateRefDatabase
- java.lang.Object
- 
- org.eclipse.jgit.lib.RefDatabase
- 
- com.google.gerrit.server.git.DelegateRefDatabase
 
 
- 
- Direct Known Subclasses:
- PermissionAwareReadOnlyRefDatabase
 
 public class DelegateRefDatabase extends org.eclipse.jgit.lib.RefDatabaseWrapper aroundRefDatabasethat delegates all calls to the wrappedRepository'sRefDatabase.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcreate()org.eclipse.jgit.lib.RefexactRef(String name)List<org.eclipse.jgit.lib.Ref>getAdditionalRefs()Map<String,org.eclipse.jgit.lib.Ref>getRefs(String prefix)Set<org.eclipse.jgit.lib.Ref>getTipsWithSha1(org.eclipse.jgit.lib.ObjectId id)booleanisNameConflicting(String name)org.eclipse.jgit.lib.RefRenamenewRename(String fromName, String toName)org.eclipse.jgit.lib.RefUpdatenewUpdate(String name, boolean detach)org.eclipse.jgit.lib.Refpeel(org.eclipse.jgit.lib.Ref ref)- 
Methods inherited from class org.eclipse.jgit.lib.RefDatabaseexactRef, findRef, findRef, firstExactRef, getConflictingNames, getRef, getRefs, getRefsByPrefix, getRefsByPrefix, getRefsByPrefixWithExclusions, hasFastTipsWithSha1, hasRefs, hasVersioning, newBatchUpdate, performsAtomicTransactions, refresh
 
- 
 
- 
- 
- 
Method Detail- 
createpublic void create() throws IOException- Specified by:
- createin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
closepublic void close() - Specified by:
- closein class- org.eclipse.jgit.lib.RefDatabase
 
 - 
isNameConflictingpublic boolean isNameConflicting(String name) throws IOException - Specified by:
- isNameConflictingin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
newUpdatepublic org.eclipse.jgit.lib.RefUpdate newUpdate(String name, boolean detach) throws IOException - Specified by:
- newUpdatein class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
newRenamepublic org.eclipse.jgit.lib.RefRename newRename(String fromName, String toName) throws IOException - Specified by:
- newRenamein class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
exactRefpublic org.eclipse.jgit.lib.Ref exactRef(String name) throws IOException - Specified by:
- exactRefin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
getRefspublic Map<String,org.eclipse.jgit.lib.Ref> getRefs(String prefix) throws IOException - Specified by:
- getRefsin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
getTipsWithSha1@NonNull public Set<org.eclipse.jgit.lib.Ref> getTipsWithSha1(org.eclipse.jgit.lib.ObjectId id) throws IOException - Overrides:
- getTipsWithSha1in class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
getAdditionalRefspublic List<org.eclipse.jgit.lib.Ref> getAdditionalRefs() throws IOException - Specified by:
- getAdditionalRefsin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
peelpublic org.eclipse.jgit.lib.Ref peel(org.eclipse.jgit.lib.Ref ref) throws IOException- Specified by:
- peelin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 
- 
 
-