Class DefaultAuditEventConverter

java.lang.Object
com.atlassian.bitbucket.event.audit.DefaultAuditEventConverter
All Implemented Interfaces:
AuditEventConverter<Object>

public class DefaultAuditEventConverter extends Object implements AuditEventConverter<Object>
Builds AuditEvent without any additional properties.
  • Constructor Details

    • DefaultAuditEventConverter

      public DefaultAuditEventConverter()
  • Method Details

    • convert

      @Nonnull public com.atlassian.audit.entity.AuditEvent convert(@Nonnull Object ignored, @Nonnull com.atlassian.audit.entity.AuditEvent.Builder builder)
      Description copied from interface: AuditEventConverter
      Converts an Auditable event into an AuditEvent.
      Specified by:
      convert in interface AuditEventConverter<Object>
      Parameters:
      ignored - the original annotated event
      builder - a builder for the auditing representation of the event, which may have some fields already set
      Returns:
      the details of the original event in a representation suitable for auditing