Class DynamicRefDbRepository

  • All Implemented Interfaces:
    AutoCloseable

    public class DynamicRefDbRepository
    extends org.eclipse.jgit.internal.storage.file.FileRepository
    A FileRepository with a dynamic RefDatabase supplied via a BiFunction.
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicRefDbRepository​(File path, BiFunction<File,​org.eclipse.jgit.lib.RefDatabase,​org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jgit.lib.RefDatabase getRefDatabase()  
      • Methods inherited from class org.eclipse.jgit.internal.storage.file.FileRepository

        autoGC, convertRefStorage, create, createAttributesNodeProvider, getAdditionalHaves, getConfig, getGitwebDescription, getIdentifier, getObjectDatabase, getObjectsDirectory, getReflogReader, getReflogReader, notifyIndexChanged, openPack, scanForRepoChanges, setGitwebDescription
      • Methods inherited from class org.eclipse.jgit.lib.Repository

        close, create, doClose, exactRef, findRef, fireEvent, getAllRefs, getAllRefsByPeeledObjectId, getBranch, getDirectory, getFS, getFullBranch, getGlobalListenerList, getIndexFile, getInitialBranch, 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, shortenRefName, shortenRemoteBranchName, simplify, stripWorkDir, toString, updateRef, updateRef, writeCherryPickHead, writeCommitEditMsg, writeMergeCommitMsg, writeMergeHeads, writeOrigHead, writeRebaseTodoFile, writeRevertHead, writeSquashCommitMsg
    • Constructor Detail

      • DynamicRefDbRepository

        public DynamicRefDbRepository​(File path,
                                      BiFunction<File,​org.eclipse.jgit.lib.RefDatabase,​org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier)
                               throws IOException
        Throws:
        IOException
    • Method Detail

      • getRefDatabase

        public org.eclipse.jgit.lib.RefDatabase getRefDatabase()
        Overrides:
        getRefDatabase in class org.eclipse.jgit.internal.storage.file.FileRepository