public class DefaultAuditEventConverter extends Object implements AuditEventConverter<Object>
AuditEvent
without any additional properties.Constructor and Description |
---|
DefaultAuditEventConverter() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.audit.entity.AuditEvent |
convert(Object ignored,
com.atlassian.audit.entity.AuditEvent.Builder builder)
Converts an
Auditable event into an AuditEvent . |
@Nonnull public com.atlassian.audit.entity.AuditEvent convert(@Nonnull Object ignored, @Nonnull com.atlassian.audit.entity.AuditEvent.Builder builder)
AuditEventConverter
Auditable
event into an AuditEvent
.convert
in interface AuditEventConverter<Object>
ignored
- the original annotated eventbuilder
- a builder for the auditing representation of the event, which may have some fields already setCopyright © 2021 Atlassian. All rights reserved.