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 Type
    Method
    Description
    Returns a composed function that first applies this function to its input, and then applies the after function to the result.

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose
  • Method Details

    • andThen

      default PreAuditEnricher andThen(PreAuditEnricher after)
      Returns a composed function that first applies this function to its input, and then applies the after function 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 after function