Class RawAuditEventDetail

java.lang.Object
com.broadleafcommerce.common.audit.domain.RawAuditEventDetail
All Implemented Interfaces:
AuditEventDetail, Serializable

public class RawAuditEventDetail extends Object implements Serializable, AuditEventDetail
Raw detail information about change or system audit event. See AuditEventHeader. Generally only used when AuditEventHeader.getDetailType() is DetailType.RAW. Also supports the builder pattern by using RawAuditEventDetail.builder().
See Also:
  • Constructor Details

    • RawAuditEventDetail

      public RawAuditEventDetail(@NonNull @NonNull String author, @NonNull @NonNull Instant timestamp, @Nullable String rawDetail, @Nullable Map<String,String> additionalAttributes)
  • Method Details

    • builder

    • getAuthor

      public String getAuthor()
      The author of the change. May be any type of user (including customer), or an identifier noting an automated system process.
      Specified by:
      getAuthor in interface AuditEventDetail
    • getTimestamp

      public Instant getTimestamp()
      The timestamp at which the field change took place
      Specified by:
      getTimestamp in interface AuditEventDetail
    • getRawDetail

      @Nullable public String getRawDetail()
      Raw information about the change.
    • getAdditionalAttributes

      @Nullable public Map<String,String> getAdditionalAttributes()
      Any additional information, possibly required in extension scenarios
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object