Class WorkingMemoryLogEventFilter

  • All Implemented Interfaces:
    ILogEventFilter

    public class WorkingMemoryLogEventFilter
    extends Object
    implements ILogEventFilter
    An event filter that can be used to filter working memory events. By default, all events are allowed. You can filter out any of the three types of working memory events by setting the allow boolean for that type to false.
    • Constructor Detail

      • WorkingMemoryLogEventFilter

        public WorkingMemoryLogEventFilter​(boolean allowAssertEvents,
                                           boolean allowModifyEvents,
                                           boolean allowRetractEvents)
    • Method Detail

      • 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:
        org.kie.audit.event.ILogEventFilter
      • setAllowInsertEvents

        public void setAllowInsertEvents​(boolean allowInsertEvents)
      • setAllowUpdateEvents

        public void setAllowUpdateEvents​(boolean allowUpdateEvents)
      • setAllowRetractEvents

        public void setAllowRetractEvents​(boolean allowRetractEvents)