Package org.drools.kiesession.audit
Class ActivationLogEventFilter
java.lang.Object
org.drools.kiesession.audit.ActivationLogEventFilter
- All Implemented Interfaces:
ILogEventFilter
An event filter that can be used to filter assertion events.
By default, all events are allowed. You can filter out any of the
four types of assertion events by setting the allow boolean
for that type to false.
-
Constructor Summary
ConstructorsConstructorDescriptionActivationLogEventFilter(boolean allowActivationCreatedEvents, boolean allowActivationCancelledEvents, boolean allowBeforeActivationFireEvents, boolean allowAfterActivationFireEvents) -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptEvent(LogEvent event) Returns whether the given event should be filtered from the event log or not.voidsetAllowActivationCancelledEvents(boolean allowActivationCancelledEvents) voidsetAllowActivationCreatedEvents(boolean allowActivationCreatedEvents) voidsetAllowAfterActivationFireEvents(boolean allowAfterActivationFireEvents) voidsetAllowBeforeActivationFireEvents(boolean allowBeforeActivationFireEvents)
-
Constructor Details
-
ActivationLogEventFilter
public ActivationLogEventFilter(boolean allowActivationCreatedEvents, boolean allowActivationCancelledEvents, boolean allowBeforeActivationFireEvents, boolean allowAfterActivationFireEvents)
-
-
Method Details
-
acceptEvent
Description copied from interface:ILogEventFilterReturns whether the given event should be filtered from the event log or not.- Specified by:
acceptEventin interfaceILogEventFilter- Parameters:
event- The log event- Returns:
- Whether the event should be filtered from the event log or not.
- See Also:
-
org.kie.audit.event.ILogEventFilter
-
setAllowActivationCreatedEvents
public void setAllowActivationCreatedEvents(boolean allowActivationCreatedEvents) -
setAllowActivationCancelledEvents
public void setAllowActivationCancelledEvents(boolean allowActivationCancelledEvents) -
setAllowBeforeActivationFireEvents
public void setAllowBeforeActivationFireEvents(boolean allowBeforeActivationFireEvents) -
setAllowAfterActivationFireEvents
public void setAllowAfterActivationFireEvents(boolean allowAfterActivationFireEvents)
-