Class ReflogEntryImpl
java.lang.Object
org.eclipse.jgit.internal.storage.file.ReflogEntryImpl
- All Implemented Interfaces:
Serializable
,ReflogEntry
Parsed reflog entry
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private ObjectId
private ObjectId
private static final long
private PersonIdent
Fields inherited from interface org.eclipse.jgit.lib.ReflogEntry
PREFIX_CREATED, PREFIX_FAST_FORWARD, PREFIX_FORCED_UPDATE
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
oldId
-
newId
-
who
-
comment
-
-
Constructor Details
-
ReflogEntryImpl
ReflogEntryImpl(byte[] raw, int pos)
-
-
Method Details
-
getOldId
Get the commit id before the change- Specified by:
getOldId
in interfaceReflogEntry
- Returns:
- the commit id before the change
-
getNewId
Get the commit id after the change- Specified by:
getNewId
in interfaceReflogEntry
- Returns:
- the commit id after the change
-
getWho
Get user performing the change- Specified by:
getWho
in interfaceReflogEntry
- Returns:
- user performing the change
-
getComment
Get textual description of the change- Specified by:
getComment
in interfaceReflogEntry
- Returns:
- textual description of the change
-
toString
-
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
-