Class ReflogEntryImpl
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
ObjectId
getNewId()
ObjectId
getOldId()
PersonIdent
getWho()
CheckoutEntry
parseCheckout()
java.lang.String
toString()
-
-
-
Method Detail
-
getOldId
public ObjectId getOldId()
- Specified by:
getOldId
in interfaceReflogEntry
- Returns:
- the commit id before the change
-
getNewId
public ObjectId getNewId()
- Specified by:
getNewId
in interfaceReflogEntry
- Returns:
- the commit id after the change
-
getWho
public PersonIdent getWho()
- Specified by:
getWho
in interfaceReflogEntry
- Returns:
- user performing the change
-
getComment
public java.lang.String getComment()
- Specified by:
getComment
in interfaceReflogEntry
- Returns:
- textual description of the change
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
parseCheckout
public CheckoutEntry parseCheckout()
- Specified by:
parseCheckout
in interfaceReflogEntry
- Returns:
- a
CheckoutEntry
with parsed information about a branch switch, or null if the entry is not a checkout
-
-