Interface RefLogDetails


  • @Immutable
    public interface RefLogDetails
    Represents a reflog-entry stored in the database.
    • 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 in RefLogEntry.Operation of '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.