public class ReflogEntryImpl extends java.lang.Object implements java.io.Serializable, ReflogEntry
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
comment |
private ObjectId |
newId |
private ObjectId |
oldId |
private static long |
serialVersionUID |
private PersonIdent |
who |
PREFIX_CREATED, PREFIX_FAST_FORWARD, PREFIX_FORCED_UPDATE| Constructor and Description |
|---|
ReflogEntryImpl(byte[] raw,
int pos) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Get textual description of the change
|
ObjectId |
getNewId()
Get the commit id after the change
|
ObjectId |
getOldId()
Get the commit id before the change
|
PersonIdent |
getWho()
Get user performing the change
|
CheckoutEntry |
parseCheckout()
Parse checkout
|
java.lang.String |
toString() |
private static final long serialVersionUID
private ObjectId oldId
private ObjectId newId
private PersonIdent who
private java.lang.String comment
public ObjectId getOldId()
getOldId in interface ReflogEntrypublic ObjectId getNewId()
getNewId in interface ReflogEntrypublic PersonIdent getWho()
getWho in interface ReflogEntrypublic java.lang.String getComment()
getComment in interface ReflogEntrypublic java.lang.String toString()
toString in class java.lang.Objectpublic CheckoutEntry parseCheckout()
parseCheckout in interface ReflogEntryCheckoutEntry with parsed
information about a branch switch, or null if the entry is not a
checkout