Package com.atlassian.crowd.audit
Class AuditLogContextInternalImpl
java.lang.Object
com.atlassian.crowd.audit.AuditLogContextInternalImpl
- All Implemented Interfaces:
AuditLogContext,AuditLogContextInternal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TwithAuditLogAuthor(AuditLogAuthor author, AuditLogContextCallback<T> callback) <T> TwithAuditLogSource(AuditLogEventSource source, AuditLogContextCallback<T> callback)
-
Constructor Details
-
AuditLogContextInternalImpl
public AuditLogContextInternalImpl()
-
-
Method Details
-
getAuthor
- Specified by:
getAuthorin interfaceAuditLogContextInternal- Returns:
- the author currently stored in the context
-
getSource
- Specified by:
getSourcein interfaceAuditLogContextInternal- Returns:
- the event source
-
withAuditLogAuthor
public <T> T withAuditLogAuthor(AuditLogAuthor author, AuditLogContextCallback<T> callback) throws Exception - Specified by:
withAuditLogAuthorin interfaceAuditLogContext- Throws:
Exception
-
withAuditLogSource
public <T> T withAuditLogSource(AuditLogEventSource source, AuditLogContextCallback<T> callback) throws Exception - Specified by:
withAuditLogSourcein interfaceAuditLogContext- Throws:
Exception
-