Class ExternalIdNotes.Factory

    • Method Detail

      • load

        public ExternalIdNotes load​(org.eclipse.jgit.lib.Repository allUsersRepo,
                                    org.eclipse.jgit.lib.ObjectId rev)
                             throws IOException,
                                    org.eclipse.jgit.errors.ConfigInvalidException
        Description copied from interface: ExternalIdNotes.ExternalIdNotesLoader
        Loads the external ID notes from the specified revision of the refs/meta/external-ids branch.
        Specified by:
        load in interface ExternalIdNotes.ExternalIdNotesLoader
        Parameters:
        allUsersRepo - the All-Users repository
        rev - the revision from which the external ID notes should be loaded, if null the external ID notes are loaded from the current tip, if ObjectId.zeroId() it's assumed that the refs/meta/external-ids branch doesn't exist and the loaded external IDs will be empty
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException