Class ReflogEntryImpl
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.ReflogEntryImpl
-
- All Implemented Interfaces:
Serializable,ReflogEntry
public class ReflogEntryImpl extends Object implements Serializable, ReflogEntry
Parsed reflog entry- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jgit.lib.ReflogEntry
PREFIX_CREATED, PREFIX_FAST_FORWARD, PREFIX_FORCED_UPDATE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()Get textual description of the changeObjectIdgetNewId()Get the commit id after the changeObjectIdgetOldId()Get the commit id before the changePersonIdentgetWho()Get user performing the changeCheckoutEntryparseCheckout()Parse checkoutStringtoString()
-
-
-
Method Detail
-
getOldId
public ObjectId getOldId()
Get the commit id before the change- Specified by:
getOldIdin interfaceReflogEntry- Returns:
- the commit id before the change
-
getNewId
public ObjectId getNewId()
Get the commit id after the change- Specified by:
getNewIdin interfaceReflogEntry- Returns:
- the commit id after the change
-
getWho
public PersonIdent getWho()
Get user performing the change- Specified by:
getWhoin interfaceReflogEntry- Returns:
- user performing the change
-
getComment
public String getComment()
Get textual description of the change- Specified by:
getCommentin interfaceReflogEntry- Returns:
- textual description of the change
-
parseCheckout
public CheckoutEntry parseCheckout()
Parse checkout- Specified by:
parseCheckoutin interfaceReflogEntry- Returns:
- a
CheckoutEntrywith parsed information about a branch switch, or null if the entry is not a checkout
-
-