Class AuditEvent
- java.lang.Object
-
- com.microstrategy.utils.log.audit.AuditEvent
-
- Direct Known Subclasses:
InsufficientPrivilegeAuditEvent
public class AuditEvent extends java.lang.Object
This class was created to server as a way to group the necessary information required by FedRamp initiative when doing Audit level logs. As Library only needs to be compliant for now, we needed to handle some WebTasks called from Lib Authoring. To have a more flexible design, we have created this class, which can be extended and modified and requirements change in the future. Possible Improvements: - Have this class implement a generic message, and subclasses give more specific messages
-
-
Constructor Summary
Constructors Constructor Description AuditEvent(EnumAuditEventResult result)
Creates an AuditEvent with the result initializedAuditEvent(EnumAuditEventType eventType)
Creates an AuditEvent with eventType initializedAuditEvent(EnumAuditEventType eventType, EnumAuditEventResult result)
Creates AuditEvent with both event type and result initialized
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumAuditEventType
getEventType()
EnumAuditEventResult
getResult()
void
setEventType(EnumAuditEventType eventType)
void
setResult(EnumAuditEventResult result)
-
-
-
Constructor Detail
-
AuditEvent
public AuditEvent(EnumAuditEventType eventType)
Creates an AuditEvent with eventType initialized- Parameters:
eventType
-
-
AuditEvent
public AuditEvent(EnumAuditEventResult result)
Creates an AuditEvent with the result initialized- Parameters:
result
-
-
AuditEvent
public AuditEvent(EnumAuditEventType eventType, EnumAuditEventResult result)
Creates AuditEvent with both event type and result initialized- Parameters:
eventType
-result
-
-
-
Method Detail
-
setEventType
public void setEventType(EnumAuditEventType eventType)
-
getEventType
public EnumAuditEventType getEventType()
-
setResult
public void setResult(EnumAuditEventResult result)
-
getResult
public EnumAuditEventResult getResult()
-
-