Class DelegateRepository

  • All Implemented Interfaces:
    AutoCloseable
    Direct Known Subclasses:
    PermissionAwareRepository

    public class DelegateRepository
    extends org.eclipse.jgit.lib.Repository
    Wrapper around Repository that delegates all calls to the wrapped Repository.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.jgit.lib.Repository delegate  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DelegateRepository​(org.eclipse.jgit.lib.Repository delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(boolean bare)  
      org.eclipse.jgit.attributes.AttributesNodeProvider createAttributesNodeProvider()  
      org.eclipse.jgit.lib.StoredConfig getConfig()  
      String getIdentifier()  
      org.eclipse.jgit.lib.ObjectDatabase getObjectDatabase()  
      org.eclipse.jgit.lib.RefDatabase getRefDatabase()  
      org.eclipse.jgit.lib.ReflogReader getReflogReader​(String refName)  
      void notifyIndexChanged​(boolean internal)  
      void scanForRepoChanges()  
      • Methods inherited from class org.eclipse.jgit.lib.Repository

        autoGC, close, create, doClose, exactRef, findRef, fireEvent, getAdditionalHaves, getAllRefs, getAllRefsByPeeledObjectId, getBranch, getDirectory, getFS, getFullBranch, getGitwebDescription, getGlobalListenerList, getIndexFile, getListenerList, getRemoteName, getRemoteNames, getRepositoryState, getTags, getWorkTree, hasObject, incrementOpen, isBare, isValidRefName, lockDirCache, newObjectInserter, newObjectReader, normalizeBranchName, open, open, parseCommit, peel, readCherryPickHead, readCommitEditMsg, readDirCache, readMergeCommitMsg, readMergeHeads, readOrigHead, readRebaseTodo, readRevertHead, readSquashCommitMsg, renameRef, resolve, setGitwebDescription, shortenRefName, shortenRemoteBranchName, simplify, stripWorkDir, toString, updateRef, updateRef, writeCherryPickHead, writeCommitEditMsg, writeMergeCommitMsg, writeMergeHeads, writeOrigHead, writeRebaseTodoFile, writeRevertHead, writeSquashCommitMsg
    • Field Detail

      • delegate

        protected final org.eclipse.jgit.lib.Repository delegate
    • Constructor Detail

      • DelegateRepository

        protected DelegateRepository​(org.eclipse.jgit.lib.Repository delegate)
    • Method Detail

      • create

        public void create​(boolean bare)
                    throws IOException
        Specified by:
        create in class org.eclipse.jgit.lib.Repository
        Throws:
        IOException
      • getIdentifier

        public String getIdentifier()
        Specified by:
        getIdentifier in class org.eclipse.jgit.lib.Repository
      • getObjectDatabase

        public org.eclipse.jgit.lib.ObjectDatabase getObjectDatabase()
        Specified by:
        getObjectDatabase in class org.eclipse.jgit.lib.Repository
      • getRefDatabase

        public org.eclipse.jgit.lib.RefDatabase getRefDatabase()
        Specified by:
        getRefDatabase in class org.eclipse.jgit.lib.Repository
      • getConfig

        public org.eclipse.jgit.lib.StoredConfig getConfig()
        Specified by:
        getConfig in class org.eclipse.jgit.lib.Repository
      • createAttributesNodeProvider

        public org.eclipse.jgit.attributes.AttributesNodeProvider createAttributesNodeProvider()
        Specified by:
        createAttributesNodeProvider in class org.eclipse.jgit.lib.Repository
      • scanForRepoChanges

        public void scanForRepoChanges()
                                throws IOException
        Specified by:
        scanForRepoChanges in class org.eclipse.jgit.lib.Repository
        Throws:
        IOException
      • notifyIndexChanged

        public void notifyIndexChanged​(boolean internal)
        Specified by:
        notifyIndexChanged in class org.eclipse.jgit.lib.Repository
      • getReflogReader

        public org.eclipse.jgit.lib.ReflogReader getReflogReader​(String refName)
                                                          throws IOException
        Specified by:
        getReflogReader in class org.eclipse.jgit.lib.Repository
        Throws:
        IOException