Interface EventPolicyRule

  • All Known Implementing Classes:
    AbstractEventPolicyRule, EventPolicyRuleDefaultImpl

    public interface EventPolicyRule
    An EventFilter is a filter of Events An implementation of this interface is a class where you have some criteria to decide if the Event pass the filter or not
    Author:
    antonio
    • Field Detail

      • m_filter

        static final java.util.List<EventMatch> m_filter
      • m_forwardes

        static final java.util.List<java.lang.Boolean> m_forwardes
    • Method Detail

      • filter

        Event filter​(Event event)
        Method to decide if the event should be forwarder
        Returns:
        event the filtered Event that can be null or with parameter changes
      • addForwardRule

        void addForwardRule​(EventMatch eventMatch)
      • addDropRule

        void addDropRule​(EventMatch eventMatch)