Package org.drools.core.audit.event
Class ActivationLogEventFilter
- java.lang.Object
-
- org.drools.core.audit.event.ActivationLogEventFilter
-
- All Implemented Interfaces:
ILogEventFilter
public class ActivationLogEventFilter extends Object implements 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
Constructors Constructor Description ActivationLogEventFilter(boolean allowActivationCreatedEvents, boolean allowActivationCancelledEvents, boolean allowBeforeActivationFireEvents, boolean allowAfterActivationFireEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptEvent(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)
-
-
-
Method Detail
-
acceptEvent
public boolean acceptEvent(LogEvent event)
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)
-
-