Top Description Fields Constructors Methods
org.eclipse.jgit.internal.storage.file

public Class ReflogEntryImpl

extends Object
implements Serializable, ReflogEntry
Class Inheritance
All Implemented Interfaces
org.eclipse.jgit.lib.ReflogEntry, java.io.Serializable
Imports
java.io.Serializable, org.eclipse.jgit.internal.JGitText, org.eclipse.jgit.lib.CheckoutEntry, .Constants, .ObjectId, .PersonIdent, .ReflogEntry, org.eclipse.jgit.util.RawParseUtils

Parsed reflog entry

Field Summary

Modifier and TypeField and Description
private String
private ObjectId
private ObjectId
private static final long
private PersonIdent

Constructor Summary

AccessConstructor and Description
pack-priv
ReflogEntryImpl(byte[] raw, int pos)

Method Summary

Modifier and TypeMethod and Description
public String
getComment()

Implements org.eclipse.jgit.lib.ReflogEntry.getComment.

Get textual description of the change

public ObjectId
getNewId()

Implements org.eclipse.jgit.lib.ReflogEntry.getNewId.

Get the commit id after the change

public ObjectId
getOldId()

Implements org.eclipse.jgit.lib.ReflogEntry.getOldId.

Get the commit id before the change

public PersonIdent
getWho()

Implements org.eclipse.jgit.lib.ReflogEntry.getWho.

Get user performing the change

public CheckoutEntry
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

commentback to summary
private String comment
newIdback to summary
private ObjectId newId
oldIdback to summary
private ObjectId oldId
serialVersionUIDback to summary
private static final long serialVersionUID
whoback to summary
private PersonIdent who

Constructor Detail

ReflogEntryImplback to summary
pack-priv ReflogEntryImpl(byte[] raw, int pos)

Method Detail

getCommentback to summary
public String getComment()

Implements org.eclipse.jgit.lib.ReflogEntry.getComment.

Doc from org.eclipse.jgit.lib.ReflogEntry.getComment.

Get textual description of the change

Returns:String

textual description of the change

Annotations
@Override
getNewIdback to summary
public ObjectId getNewId()

Implements org.eclipse.jgit.lib.ReflogEntry.getNewId.

Doc from org.eclipse.jgit.lib.ReflogEntry.getNewId.

Get the commit id after the change

Returns:ObjectId

the commit id after the change

Annotations
@Override
getOldIdback to summary
public ObjectId getOldId()

Implements org.eclipse.jgit.lib.ReflogEntry.getOldId.

Doc from org.eclipse.jgit.lib.ReflogEntry.getOldId.

Get the commit id before the change

Returns:ObjectId

the commit id before the change

Annotations
@Override
getWhoback to summary
public PersonIdent getWho()

Implements org.eclipse.jgit.lib.ReflogEntry.getWho.

Doc from org.eclipse.jgit.lib.ReflogEntry.getWho.

Get user performing the change

Returns:PersonIdent

user performing the change

Annotations
@Override
parseCheckoutback to summary
public CheckoutEntry parseCheckout()

Implements org.eclipse.jgit.lib.ReflogEntry.parseCheckout.

Doc from org.eclipse.jgit.lib.ReflogEntry.parseCheckout.

Parse checkout

Returns:CheckoutEntry

a org.eclipse.jgit.lib.CheckoutEntry with parsed information about a branch switch, or null if the entry is not a checkout

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@SuppressWarnings:nls
@Override