Class MockIngestApi.MockAuditDetail

    • Field Detail

      • seq

        public long seq
      • date

        public java.util.Date date
      • clientId

        public java.util.UUID clientId
      • id

        public java.lang.String id
      • msgClass

        public java.lang.String msgClass
      • node

        public java.lang.String node
      • correlationId

        public java.util.UUID correlationId
      • component

        public java.lang.String component
      • parent

        public java.lang.String parent
      • ancestor

        public java.lang.String ancestor
    • Method Detail

      • getCorrelationId

        public java.util.UUID getCorrelationId()
        Description copied from interface: AuditDetail
        The unique id for a document update.
        Specified by:
        getCorrelationId in interface AuditDetail
      • getComponent

        public java.lang.String getComponent()
        Specified by:
        getComponent in interface AuditDetail
        Returns:
        null if created by client
      • getErrorCode

        public ErrorCode getErrorCode()
        Specified by:
        getErrorCode in interface AuditDetail
        Returns:
        null if no ErrorCode was recorded, the error code otherwise.
      • getExceptionClass

        public java.lang.String getExceptionClass()
        Specified by:
        getExceptionClass in interface AuditDetail
        Returns:
        null if no Exception was recorded, the simple name of the exception class otherwise.
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Returns the unstructured error message associated with a processing error.
        Specified by:
        getErrorMessage in interface AuditDetail
      • getDate

        public java.util.Date getDate()
        Specified by:
        getDate in interface AuditDetail
        Returns:
        the date the audit record was generated.
      • getClientId

        public java.util.UUID getClientId()
        Specified by:
        getClientId in interface AuditDetail
        Returns:
        the client associated with the detail.
      • getMessageClass

        public java.lang.String getMessageClass()
        Message class associated with the audit detail. May be null for the common case of document bearing messages.
        Specified by:
        getMessageClass in interface AuditDetail
      • getId

        public java.lang.String getId()
        The id (message or document) associated with the audit detail record.
        Specified by:
        getId in interface AuditDetail
      • getSequenceId

        public long getSequenceId()
        This value has meaning only after retrieval from the audit store.
        Specified by:
        getSequenceId in interface AuditDetail
        Returns:
        The sequence ID for the detail record, -1 if undefined
      • getNode

        public java.lang.String getNode()
        k
        Specified by:
        getNode in interface AuditDetail
        Returns:
        the name of the node where the audit information was generated
      • getAncestorId

        public java.lang.String getAncestorId()
        The initiating document id if any. For instance, for a document contained in a zip ( inner.zip) contained in a zip ( main.zip), this ID would be the main.zip
        Specified by:
        getAncestorId in interface AuditDetail
      • getParentId

        public java.lang.String getParentId()
        The immediate parent document id if any. For instance, for a document contained in a zip (inner.zip) contained in a zip (main.zip), this ID would be the inner.zip
        Specified by:
        getParentId in interface AuditDetail