public interface AuditManager extends ExtensionPointManager
| Modifier and Type | Method and Description |
|---|---|
void |
addAuditProfileType(AuditProfileType type)
Adds a new type of audit profile to the system.
|
AuditInfo |
getAuditInfo()
Attempts to return useful contextual information about the current thread by accessing internal session
threadlocals.
|
AuditProfile |
getGatewayAuditProfile()
Returns the audit profile specified by
SystemPropertiesRecord.GatewayAuditProfile, or null. |
AuditProfile |
getProfile(java.lang.String name)
Returns the named audit profile, or null if none exists with that name
|
AuditProfile |
getProfileForProject(java.lang.Long projectId,
ProjectVersion version)
Returns the audit profile for a given project.
|
getExtensionPoint, getExtensionPointsAuditInfo getAuditInfo()
@Nullable AuditProfile getProfile(java.lang.String name) throws java.lang.Exception
java.lang.Exception@Nullable AuditProfile getProfileForProject(java.lang.Long projectId, ProjectVersion version)
@Nullable AuditProfile getGatewayAuditProfile()
SystemPropertiesRecord.GatewayAuditProfile, or null.void addAuditProfileType(AuditProfileType type) throws java.lang.Exception
type - The new type of audit profile to add.java.lang.Exception - If automatic schema updating fails.