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 void
close()
ReflogEntry
getReflogEntry()
Get current log entry.java.lang.String
getRefName()
Get name of the current reference.long
getUpdateIndex()
Get identifier of the transaction that created the log record.boolean
next()
Check if another log record is available.
-
-
-
Method Detail
-
next
public boolean next() throws java.io.IOException
Check if another log record is available.
-
getRefName
public java.lang.String getRefName()
Get name of the current reference.- Specified by:
getRefName
in classLogCursor
- Returns:
- name of the current reference.
-
getUpdateIndex
public long getUpdateIndex()
Get identifier of the transaction that created the log record.- Specified by:
getUpdateIndex
in classLogCursor
- Returns:
- identifier of the transaction that created the log record.
-
getReflogEntry
public ReflogEntry getReflogEntry()
Get current log entry.- Specified by:
getReflogEntry
in classLogCursor
- Returns:
- current log entry. Maybe null if we are producing deletions.
-
-