T - the type of the original eventpublic interface AuditEventConverter<T>
Auditable event into a AuditEvent (a representation suitable for auditing).
Implementations must have a nullary (no argument) constructor and are intended to be lightweight, stateless
classes. Converters are instantiated for each event and discarded after the event has been converted.AuditEvent,
Auditable| Modifier and Type | Method and Description |
|---|---|
com.atlassian.audit.entity.AuditEvent |
convert(T event,
com.atlassian.audit.entity.AuditEvent.Builder builder)
Converts an
Auditable event into an AuditEvent. |
@Nonnull com.atlassian.audit.entity.AuditEvent convert(@Nonnull T event, @Nonnull com.atlassian.audit.entity.AuditEvent.Builder builder)
Auditable event into an AuditEvent.builder - a builder for the auditing representation of the event, which may have some fields already setevent - the original annotated eventCopyright © 2022 Atlassian. All rights reserved.