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 String
getComment()
Get textual description of the changeObjectId
getNewId()
Get the commit id after the changeObjectId
getOldId()
Get the commit id before the changePersonIdent
getWho()
Get user performing the changeCheckoutEntry
parseCheckout()
Parse checkoutString
toString()
-
-
-
Method Detail
-
getOldId
public ObjectId getOldId()
Get the commit id before the change- Specified by:
getOldId
in interfaceReflogEntry
- Returns:
- the commit id before the change
-
getNewId
public ObjectId getNewId()
Get the commit id after the change- Specified by:
getNewId
in interfaceReflogEntry
- Returns:
- the commit id after the change
-
getWho
public PersonIdent getWho()
Get user performing the change- Specified by:
getWho
in interfaceReflogEntry
- Returns:
- user performing the change
-
getComment
public String getComment()
Get textual description of the change- Specified by:
getComment
in interfaceReflogEntry
- Returns:
- textual description of the change
-
parseCheckout
public CheckoutEntry parseCheckout()
Parse checkout- Specified by:
parseCheckout
in interfaceReflogEntry
- Returns:
- a
CheckoutEntry
with parsed information about a branch switch, or null if the entry is not a checkout
-
-