Interface RefLog
-
@Immutable public interface RefLogRepresents a reflog-entry stored in the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.projectnessie.versioned.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.java.util.List<org.projectnessie.versioned.Hash>getParents()Parent reflog id of the current entry.org.projectnessie.versioned.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<org.projectnessie.versioned.Hash>getSourceHashes()Single hash in case of MERGE or ASSIGN.
-
-
-
Method Detail
-
getRefLogId
org.projectnessie.versioned.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
org.projectnessie.versioned.Hash getCommitHash()
Output commit hash of the operation.
-
getParents
java.util.List<org.projectnessie.versioned.Hash> getParents()
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<org.projectnessie.versioned.Hash> getSourceHashes()
Single hash in case of MERGE or ASSIGN. One or more hashes in case of TRANSPLANT. Empty list for other operations.
-
-