Class ReflogEntryImpl

  • All Implemented Interfaces:
    java.io.Serializable, ReflogEntry

    public class ReflogEntryImpl
    extends java.lang.Object
    implements java.io.Serializable, ReflogEntry
    Parsed reflog entry
    See Also:
    Serialized Form
    • Constructor Detail

      • ReflogEntryImpl

        ReflogEntryImpl​(byte[] raw,
                        int pos)
    • Method Detail

      • getOldId

        public ObjectId getOldId()
        Get the commit id before the change
        Specified by:
        getOldId in interface ReflogEntry
        Returns:
        the commit id before the change
      • getNewId

        public ObjectId getNewId()
        Get the commit id after the change
        Specified by:
        getNewId in interface ReflogEntry
        Returns:
        the commit id after the change
      • getWho

        public PersonIdent getWho()
        Get user performing the change
        Specified by:
        getWho in interface ReflogEntry
        Returns:
        user performing the change
      • getComment

        public java.lang.String getComment()
        Get textual description of the change
        Specified by:
        getComment in interface ReflogEntry
        Returns:
        textual description of the change
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object