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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()ObjectIdgetNewId()ObjectIdgetOldId()PersonIdentgetWho()CheckoutEntryparseCheckout()StringtoString()
-
-
-
Method Detail
-
getOldId
public ObjectId getOldId()
- Specified by:
getOldIdin interfaceReflogEntry- Returns:
- the commit id before the change
-
getNewId
public ObjectId getNewId()
- Specified by:
getNewIdin interfaceReflogEntry- Returns:
- the commit id after the change
-
getWho
public PersonIdent getWho()
- Specified by:
getWhoin interfaceReflogEntry- Returns:
- user performing the change
-
getComment
public String getComment()
- Specified by:
getCommentin interfaceReflogEntry- Returns:
- textual description of the change
-
parseCheckout
public CheckoutEntry parseCheckout()
- Specified by:
parseCheckoutin interfaceReflogEntry- Returns:
- a
CheckoutEntrywith parsed information about a branch switch, or null if the entry is not a checkout
-
-