Interface EventPolicyRule
-
- All Known Implementing Classes:
AbstractEventPolicyRule,EventPolicyRuleDefaultImpl
public interface EventPolicyRuleAn 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 Summary
Fields Modifier and Type Field Description static java.util.List<EventMatch>m_filterstatic java.util.List<java.lang.Boolean>m_forwardes
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDropRule(EventMatch eventMatch)voidaddForwardRule(EventMatch eventMatch)Eventfilter(Event event)Method to decide if the event should be forwarder
-
-
-
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)
-
-