Interface ExternalIdNotes.ExternalIdNotesLoader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ExternalIdNotes load​(org.eclipse.jgit.lib.Repository allUsersRepo)
      Loads the external ID notes from the current tip of the refs/meta/external-ids branch.
      ExternalIdNotes load​(org.eclipse.jgit.lib.Repository allUsersRepo, org.eclipse.jgit.lib.ObjectId rev)
      Loads the external ID notes from the specified revision of the refs/meta/external-ids branch.
    • Method Detail

      • load

        ExternalIdNotes load​(org.eclipse.jgit.lib.Repository allUsersRepo)
                      throws IOException,
                             org.eclipse.jgit.errors.ConfigInvalidException
        Loads the external ID notes from the current tip of the refs/meta/external-ids branch.
        Parameters:
        allUsersRepo - the All-Users repository
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException
      • load

        ExternalIdNotes load​(org.eclipse.jgit.lib.Repository allUsersRepo,
                             org.eclipse.jgit.lib.ObjectId rev)
                      throws IOException,
                             org.eclipse.jgit.errors.ConfigInvalidException
        Loads the external ID notes from the specified revision of the refs/meta/external-ids branch.
        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