public class AuditEvent extends Object
Constructor and Description |
---|
AuditEvent(String level) |
AuditEvent(String level,
Map<String,Object> map) |
AuditEvent(String level,
Map<String,Object> map,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
String |
getAuditLevel()
Return the Audit Level
|
Map<String,Object> |
getContextMap()
Get the Contextual Map
|
Exception |
getUnderlyingException()
Get the Exception part of the audit
|
void |
setContextMap(Map<String,Object> cmap)
Set a non-modifiable Context Map
|
void |
setUnderlyingException(Exception underlyingException)
Set the exception on which an audit is happening
|
String |
toString() |
public AuditEvent(String level)
public String getAuditLevel()
public Map<String,Object> getContextMap()
public void setContextMap(Map<String,Object> cmap)
cmap
- Map that is finalpublic Exception getUnderlyingException()
public void setUnderlyingException(Exception underlyingException)
underlyingException
- Copyright © 2019 JBoss by Red Hat. All rights reserved.