Package org.onosproject.event
Interface EventFilter<E extends Event>
-
- All Known Subinterfaces:
AlarmListener
,ApplicationListener
,ClusterEventListener
,ClusterMetadataEventListener
,ControlMessageListener
,DeviceAgentListener
,DeviceKeyListener
,DeviceListener
,DriverListener
,EdgePortListener
,EventListener<E>
,FlowRuleListener
,GroupListener
,HostListener
,HostProbingListener
,IntentListener
,InterfaceListener
,LeadershipEventListener
,LinkListener
,MastershipListener
,McastListener
,MeterListener
,NetworkConfigListener
,PartitionEventListener
,PiPipeconfListener
,PiPipeconfWatchdogListener
,RegionListener
,ReplicaInfoEventListener
,ResourceListener
,TopologyListener
,UpgradeEventListener
,WorkPartitionEventListener
- All Known Implementing Classes:
IntentCycleCommand
,IntentPushTestCommand
public interface EventFilter<E extends Event>
Entity capable of filtering events.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isRelevant(E event)
Indicates whether the specified event is of interest or not.
-
-
-
Method Detail
-
isRelevant
default boolean isRelevant(E event)
Indicates whether the specified event is of interest or not. Default implementation always returns true.- Parameters:
event
- event to be inspected- Returns:
- true if event is relevant; false otherwise
-
-