org.opennms.netmgt.scriptd.helper
Class AbstractEventPolicyRule
java.lang.Object
org.opennms.netmgt.scriptd.helper.AbstractEventPolicyRule
- All Implemented Interfaces:
- EventPolicyRule
- Direct Known Subclasses:
- EventPolicyRuleDefaultImpl
public abstract class AbstractEventPolicyRule
- extends Object
- implements EventPolicyRule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEventPolicyRule
public AbstractEventPolicyRule()
addForwardRule
public void addForwardRule(EventMatch match)
- Specified by:
addForwardRule in interface EventPolicyRule
addDropRule
public void addDropRule(EventMatch match)
- Specified by:
addDropRule in interface EventPolicyRule
filter
public Event filter(Event event)
- Description copied from interface:
EventPolicyRule
- Method to decide if the event
should be forwarder
- Specified by:
filter in interface EventPolicyRule
- Returns:
- event
the filtered Event
that can be null or
with parameter changes
expand
protected abstract Event expand(Event event)
Copyright © 2011. All Rights Reserved.