org.ow2.clif.datacollector.lib
Class GenericFilter
java.lang.Object
org.ow2.clif.datacollector.lib.GenericFilter
- All Implemented Interfaces:
- java.io.Serializable, DataCollectorFilter
public class GenericFilter
- extends java.lang.Object
- implements DataCollectorFilter
- Author:
- Emmanuel Varoquaux
- See Also:
- Serialized Form
Constructor Summary |
GenericFilter(boolean acceptActionEvents,
boolean acceptAlarmEvents,
boolean acceptLifeCycleEvents,
boolean acceptProbeEvents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericFilter
public GenericFilter(boolean acceptActionEvents,
boolean acceptAlarmEvents,
boolean acceptLifeCycleEvents,
boolean acceptProbeEvents)
accept
public boolean accept(ActionEvent action)
- Specified by:
accept
in interface DataCollectorFilter
accept
public boolean accept(AlarmEvent alarm)
- Specified by:
accept
in interface DataCollectorFilter
accept
public boolean accept(LifeCycleEvent event)
- Specified by:
accept
in interface DataCollectorFilter
accept
public boolean accept(ProbeEvent measure)
- Specified by:
accept
in interface DataCollectorFilter