Class DelegateRefDatabase

  • Direct Known Subclasses:
    PermissionAwareReadOnlyRefDatabase

    public class DelegateRefDatabase
    extends org.eclipse.jgit.lib.RefDatabase
    Wrapper around RefDatabase that delegates all calls to the wrapped RefDatabase.
    • Method Detail

      • create

        public void create()
                    throws IOException
        Specified by:
        create in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • close

        public void close()
        Specified by:
        close in class org.eclipse.jgit.lib.RefDatabase
      • isNameConflicting

        public boolean isNameConflicting​(String name)
                                  throws IOException
        Specified by:
        isNameConflicting in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • newUpdate

        public org.eclipse.jgit.lib.RefUpdate newUpdate​(String name,
                                                        boolean detach)
                                                 throws IOException
        Specified by:
        newUpdate in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • newRename

        public org.eclipse.jgit.lib.RefRename newRename​(String fromName,
                                                        String toName)
                                                 throws IOException
        Specified by:
        newRename in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • exactRef

        public org.eclipse.jgit.lib.Ref exactRef​(String name)
                                          throws IOException
        Specified by:
        exactRef in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • getRefs

        public Map<String,​org.eclipse.jgit.lib.Ref> getRefs​(String prefix)
                                                           throws IOException
        Specified by:
        getRefs in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • getAdditionalRefs

        public List<org.eclipse.jgit.lib.Ref> getAdditionalRefs()
                                                         throws IOException
        Specified by:
        getAdditionalRefs in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException
      • peel

        public org.eclipse.jgit.lib.Ref peel​(org.eclipse.jgit.lib.Ref ref)
                                      throws IOException
        Specified by:
        peel in class org.eclipse.jgit.lib.RefDatabase
        Throws:
        IOException