public interface AuditLogContext
Modifier and Type | Method and Description |
---|---|
<T> T |
withAuditLogAuthor(AuditLogAuthor author,
AuditLogContextCallback<T> callback)
Executes the callback on behalf of the specified author
|
<T> T |
withAuditLogSource(AuditLogEventSource source,
AuditLogContextCallback<T> callback)
Executes the callback using the specified source for the events audited in the callback
|
<T> T withAuditLogAuthor(AuditLogAuthor author, AuditLogContextCallback<T> callback) throws Exception
T
- Type of result of callbackauthor
- author of operationscallback
- the actions to perform with the specified authorException
- the exception thrown from the callback (if any)<T> T withAuditLogSource(AuditLogEventSource source, AuditLogContextCallback<T> callback) throws Exception
T
- Type of result of callbacksource
- the source to use when auditingcallback
- the actions to perform with the specified sourceException
- the exception thrown from the callback (if any)Copyright © 2020 Atlassian. All rights reserved.