Class 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 Detail

      • ActivationLogEventFilter

        public ActivationLogEventFilter​(boolean allowActivationCreatedEvents,
                                        boolean allowActivationCancelledEvents,
                                        boolean allowBeforeActivationFireEvents,
                                        boolean allowAfterActivationFireEvents)
    • 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
      • setAllowActivationCreatedEvents

        public void setAllowActivationCreatedEvents​(boolean allowActivationCreatedEvents)
      • setAllowActivationCancelledEvents

        public void setAllowActivationCancelledEvents​(boolean allowActivationCancelledEvents)
      • setAllowBeforeActivationFireEvents

        public void setAllowBeforeActivationFireEvents​(boolean allowBeforeActivationFireEvents)
      • setAllowAfterActivationFireEvents

        public void setAllowAfterActivationFireEvents​(boolean allowAfterActivationFireEvents)