Class DefaultAuditEventConverter
java.lang.Object
com.atlassian.bitbucket.event.audit.DefaultAuditEventConverter
- All Implemented Interfaces:
AuditEventConverter<Object>
Builds
AuditEvent
without any additional properties.-
Constructor Summary
Constructors -
Method Summary
-
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 anAuditable
event into anAuditEvent
.- Specified by:
convert
in interfaceAuditEventConverter<Object>
- Parameters:
ignored
- the original annotated eventbuilder
- 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
-