Package com.atlassian.jira.auditing
Interface PreAuditEnricher
- All Superinterfaces:
Function<com.atlassian.audit.entity.AuditEvent,com.atlassian.audit.entity.AuditEvent>
- All Known Implementing Classes:
PreAuditChangedValuesGroupingEnricherImpl
public interface PreAuditEnricher
extends Function<com.atlassian.audit.entity.AuditEvent,com.atlassian.audit.entity.AuditEvent>
Any registered Pico bean implementing this interface will be applied just before
calling
AuditService.audit(AuditEvent)
in Pico Container order rule- Since:
- v8.8
-
Method Summary
Modifier and TypeMethodDescriptiondefault PreAuditEnricherandThen(PreAuditEnricher after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.
-
Method Details
-
andThen
Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.- Parameters:
after- the function to apply after this function is applied- Returns:
- a composed function that first applies this function and then
applies the
afterfunction
-