Interface AuditLogContextCallback<T>

Type Parameters:
T - result of the set of operations
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AuditLogContextCallback<T>
Represents a set of operations which should be executed on behalf of AuditLogAuthor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Operations which should be executed in given AuthorContext AuditLogContext AuditLogAuthor
  • Method Details

    • execute

      T execute() throws Exception
      Operations which should be executed in given AuthorContext AuditLogContext AuditLogAuthor
      Returns:
      result of the set of operations
      Throws:
      Exception - the exception thrown from the callback (if any)