org.opennms.netmgt.scriptd.helper
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
static List<EventMatch> m_filter
           
static List<Boolean> m_forwardes
           
 
Method Summary
 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 List<EventMatch> m_filter

m_forwardes

static final List<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)


Copyright © 2011. All Rights Reserved.