public class DefaultAuditStrategyEvent extends ConfigurationPropertyEvent
DefaultAuditStrategyEvent indicates that the current application
is using the DefaultAuditStrategy Hibernate Envers strategy.
The ValidityAuditStrategy is a much better alternative since it can render
much efficient audit log queries.Event.Priority| Constructor and Description |
|---|
DefaultAuditStrategyEvent(String currentAuditStrategyClass,
String suggestedAuditStrategyClass)
Instantiate a
DefaultAuditStrategyEvent using the provided AuditStrategy
objects. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentAuditStrategyClass()
Get the current Hibernate
AuditStrategy. |
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
String |
getSuggestedAuditStrategyClass()
Get the suggested Hibernate
AuditStrategy. |
getConfigurationPropertygetInfoUrlpublic DefaultAuditStrategyEvent(String currentAuditStrategyClass, String suggestedAuditStrategyClass)
DefaultAuditStrategyEvent using the provided AuditStrategy
objects.currentAuditStrategyClass - current Hibernate AuditStrategysuggestedAuditStrategyClass - suggested Hibernate AuditStrategypublic String getCurrentAuditStrategyClass()
AuditStrategy.AuditStrategypublic String getSuggestedAuditStrategyClass()
AuditStrategy.AuditStrategypublic Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.