Package org.projectnessie.versioned
Interface RefLogDetails
-
@Immutable public interface RefLogDetailsRepresents a reflog-entry stored in the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HashgetCommitHash()Output commit hash of the operation.java.lang.StringgetOperation()Operation String mapped to ENUM inRefLogEntry.Operationof 'persist.proto' file.longgetOperationTime()Time in microseconds since epoch.HashgetParentRefLogId()Parent reflog id of the current entry.HashgetRefLogId()Reflog id of the current entry.java.lang.StringgetRefName()Reference on which current operation is executed.java.lang.StringgetRefType()Reference type can be 'Branch' or 'Tag'.java.util.List<Hash>getSourceHashes()Single hash in case of MERGE or ASSIGN.
-
-
-
Method Detail
-
getRefLogId
Hash getRefLogId()
Reflog id of the current entry.
-
getRefName
java.lang.String getRefName()
Reference on which current operation is executed.
-
getRefType
java.lang.String getRefType()
Reference type can be 'Branch' or 'Tag'.
-
getCommitHash
Hash getCommitHash()
Output commit hash of the operation.
-
getParentRefLogId
Hash getParentRefLogId()
Parent reflog id of the current entry.
-
getOperationTime
long getOperationTime()
Time in microseconds since epoch.
-
getOperation
java.lang.String getOperation()
Operation String mapped to ENUM inRefLogEntry.Operationof 'persist.proto' file.
-
getSourceHashes
java.util.List<Hash> getSourceHashes()
Single hash in case of MERGE or ASSIGN. One or more hashes in case of TRANSPLANT. Empty list for other operations.
-
-