Class ChangeNotesCommit

  • All Implemented Interfaces:
    Serializable, Comparable<org.eclipse.jgit.lib.AnyObjectId>

    public class ChangeNotesCommit
    extends org.eclipse.jgit.revwalk.RevCommit
    Commit implementation with some optimizations for change notes parsing.

    • Caches the result of RevCommit.getFooterLines(), which is otherwise very wasteful with allocations.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangeNotesCommit​(org.eclipse.jgit.lib.AnyObjectId id)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<String> getFooterLineValues​(org.eclipse.jgit.revwalk.FooterKey key)  
      static ChangeNotesCommit.ChangeNotesRevWalk newRevWalk​(org.eclipse.jgit.lib.Repository repo)
      A RevWalk producing ChangeNotesCommits.
      static ChangeNotesCommit.ChangeNotesRevWalk newStagedRevWalk​(org.eclipse.jgit.lib.Repository repo, Iterable<InsertedObject> stagedObjs)  
      • Methods inherited from class org.eclipse.jgit.revwalk.RevCommit

        carry, disposeBody, getAuthorIdent, getCommitterIdent, getCommitTime, getEncoding, getEncodingName, getFooterLines, getFooterLines, getFooterLines, getFullMessage, getParent, getParentCount, getParents, getRawBuffer, getRawGpgSignature, getShortMessage, getTree, getType, parse, parse, reset, toString
      • Methods inherited from class org.eclipse.jgit.revwalk.RevObject

        add, add, appendCoreFlags, getId, has, hasAll, hasAny, remove, remove
      • Methods inherited from class org.eclipse.jgit.lib.ObjectId

        equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
      • Methods inherited from class org.eclipse.jgit.lib.AnyObjectId

        abbreviate, compareTo, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, equals, equals, equals, getByte, getFirstByte, getName, hashCode, isEqual, name, startsWith