org.eclipse.jgit.storage.file
Class ReflogEntry

java.lang.Object
  extended by org.eclipse.jgit.storage.file.ReflogEntry
All Implemented Interfaces:
Serializable

public class ReflogEntry
extends Object
implements Serializable

Parsed reflog entry

See Also:
Serialized Form

Method Summary
 String getComment()
           
 ObjectId getNewId()
           
 ObjectId getOldId()
           
 PersonIdent getWho()
           
 CheckoutEntry parseCheckout()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOldId

public ObjectId getOldId()
Returns:
the commit id before the change

getNewId

public ObjectId getNewId()
Returns:
the commit id after the change

getWho

public PersonIdent getWho()
Returns:
user performing the change

getComment

public String getComment()
Returns:
textual description of the change

toString

public String toString()
Overrides:
toString in class Object

parseCheckout

public CheckoutEntry parseCheckout()
Returns:
a CheckoutEntry with parsed information about a branch switch, or null if the entry is not a checkout


Copyright © 2013. All Rights Reserved.