当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ActivationLogEventFilter (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.audit.event
Class ActivationLogEventFilter
java.lang.Object
org.drools.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.
- Author:
- Kris Verlaenen
Constructor Summary |
ActivationLogEventFilter(boolean allowActivationCreatedEvents,
boolean allowActivationCancelledEvents,
boolean allowBeforeActivationFireEvents,
boolean allowAfterActivationFireEvents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationLogEventFilter
public ActivationLogEventFilter(boolean allowActivationCreatedEvents,
boolean allowActivationCancelledEvents,
boolean allowBeforeActivationFireEvents,
boolean allowAfterActivationFireEvents)
acceptEvent
public boolean acceptEvent(LogEvent event)
- Description copied from interface:
ILogEventFilter
- Returns whether the given event should be filtered from the event log or not.
- Specified by:
acceptEvent
in interface ILogEventFilter
- Parameters:
event
- The log event
- Returns:
- Whether the event should be filtered from the event log or not.
- See Also:
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)
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.