Class EmptyLogCursor
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.reftable.LogCursor
-
- org.eclipse.jgit.internal.storage.reftable.EmptyLogCursor
-
-
Constructor Summary
Constructors Constructor Description EmptyLogCursor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ReflogEntrygetReflogEntry()Get current log entry.java.lang.StringgetRefName()Get name of the current reference.longgetUpdateIndex()Get identifier of the transaction that created the log record.booleannext()Check if another log record is available.
-
-
-
Method Detail
-
next
public boolean next() throws java.io.IOExceptionCheck if another log record is available.
-
getRefName
public java.lang.String getRefName()
Get name of the current reference.- Specified by:
getRefNamein classLogCursor- Returns:
- name of the current reference.
-
getUpdateIndex
public long getUpdateIndex()
Get identifier of the transaction that created the log record.- Specified by:
getUpdateIndexin classLogCursor- Returns:
- identifier of the transaction that created the log record.
-
getReflogEntry
public ReflogEntry getReflogEntry()
Get current log entry.- Specified by:
getReflogEntryin classLogCursor- Returns:
- current log entry. Maybe null if we are producing deletions.
-
-