Interface RefLog


  • @Immutable
    public interface RefLog
    Represents a reflog-entry stored in the database.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.projectnessie.versioned.Hash getCommitHash()
      Output commit hash of the operation.
      java.lang.String getOperation()
      Operation String mapped to ENUM in RefLogEntry.Operation of 'persist.proto' file.
      long getOperationTime()
      Time in microseconds since epoch.
      java.util.List<org.projectnessie.versioned.Hash> getParents()
      Parent reflog id of the current entry.
      org.projectnessie.versioned.Hash getRefLogId()
      Reflog id of the current entry.
      java.lang.String getRefName()
      Reference on which current operation is executed.
      java.lang.String getRefType()
      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 in RefLogEntry.Operation of '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.