Package com.google.gerrit.server.git
Class PermissionAwareReadOnlyRefDatabase
- java.lang.Object
- 
- org.eclipse.jgit.lib.RefDatabase
- 
- com.google.gerrit.server.git.DelegateRefDatabase
- 
- com.google.gerrit.server.git.PermissionAwareReadOnlyRefDatabase
 
 
 
- 
 public class PermissionAwareReadOnlyRefDatabase extends DelegateRefDatabase Wrapper aroundDelegateRefDatabasethat filters all refs usingPermissionBackend.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jgit.lib.RefexactRef(String name)Map<String,org.eclipse.jgit.lib.Ref>exactRef(String... refs)org.eclipse.jgit.lib.ReffirstExactRef(String... refs)Map<String,org.eclipse.jgit.lib.Ref>getRefs(String prefix)List<org.eclipse.jgit.lib.Ref>getRefsByPrefix(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)- 
Methods inherited from class com.google.gerrit.server.git.DelegateRefDatabaseclose, create, getAdditionalRefs, peel
 
- 
 
- 
- 
- 
Method Detail- 
isNameConflictingpublic boolean isNameConflicting(String name) - Overrides:
- isNameConflictingin class- DelegateRefDatabase
 
 - 
newUpdatepublic org.eclipse.jgit.lib.RefUpdate newUpdate(String name, boolean detach) - Overrides:
- newUpdatein class- DelegateRefDatabase
 
 - 
newRenamepublic org.eclipse.jgit.lib.RefRename newRename(String fromName, String toName) - Overrides:
- newRenamein class- DelegateRefDatabase
 
 - 
exactRefpublic org.eclipse.jgit.lib.Ref exactRef(String name) throws IOException - Overrides:
- exactRefin class- DelegateRefDatabase
- Throws:
- IOException
 
 - 
getRefspublic Map<String,org.eclipse.jgit.lib.Ref> getRefs(String prefix) throws IOException - Overrides:
- getRefsin class- DelegateRefDatabase
- Throws:
- IOException
 
 - 
getRefsByPrefixpublic List<org.eclipse.jgit.lib.Ref> getRefsByPrefix(String prefix) throws IOException - Overrides:
- getRefsByPrefixin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
exactRef@NonNull public Map<String,org.eclipse.jgit.lib.Ref> exactRef(String... refs) throws IOException - Overrides:
- exactRefin class- org.eclipse.jgit.lib.RefDatabase
- Throws:
- IOException
 
 - 
firstExactRef@Nullable public org.eclipse.jgit.lib.Ref firstExactRef(String... refs) throws IOException - Overrides:
- firstExactRefin 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- DelegateRefDatabase
- Throws:
- IOException
 
 
- 
 
-