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 Summary
Fields Modifier and Type Field Description static java.util.List<EventMatch>
m_filter
static java.util.List<java.lang.Boolean>
m_forwardes
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDropRule(EventMatch eventMatch)
void
addForwardRule(EventMatch eventMatch)
Event
filter(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)
-
-