org.opennms.web.event.filter
Class NegativeServiceFilter
java.lang.Object
org.opennms.web.filter.BaseFilter<T>
org.opennms.web.filter.OneArgFilter<T>
org.opennms.web.filter.NotEqualOrNullFilter<Integer>
org.opennms.web.event.filter.NegativeServiceFilter
- All Implemented Interfaces:
- Filter
public class NegativeServiceFilter
- extends NotEqualOrNullFilter<Integer>
Encapsulates all service filtering functionality.
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
serviceId
protected int serviceId
NegativeServiceFilter
public NegativeServiceFilter(int serviceId)
getTextDescription
public String getTextDescription()
- Description copied from interface:
Filter
- Returns a terse but human-readable string describing this filter in such
a way to easily be included in a search results list.
Some examples (corresponding to the examples in
getDescription):
- "node=nodelabel_of_node_1"
- "interface=192.168.0.1"
- "severity=Normal"
- "node name containing \"opennms\""
- Specified by:
getTextDescription in interface Filter- Specified by:
getTextDescription in class BaseFilter<Integer>
toString
public String toString()
- Overrides:
toString in class BaseFilter<Integer>
getServiceId
public int getServiceId()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2009. All Rights Reserved.