Module org.snmp4j.agent
Package org.snmp4j.agent.mo.snmp
Class RowStatus.RowStatusFilter<R extends MOTableRow>
java.lang.Object
org.snmp4j.agent.mo.snmp.RowStatus.RowStatusFilter<R>
- All Implemented Interfaces:
MOTableRowFilter<R>
- Enclosing class:
RowStatus<R extends MOTableRow>
public static class RowStatus.RowStatusFilter<R extends MOTableRow>
extends Object
implements MOTableRowFilter<R>
The
RowStatusFilter
is a MOTableRowFilter
that
returns only those rows that have a status that equals one of those provided during creation of the filter.- Since:
- 3.0
- Version:
- 3.0
- Author:
- Frank Fock
-
Constructor Summary
ConstructorDescriptionRowStatusFilter
(int rowStatusColumnIndex, Set<RowStatus.RowStatusEnum> passingStatusSet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
passesFilter
(R row) Checks whether the supplied row passes the filter criteria implemented by this row filter.
-
Constructor Details
-
RowStatusFilter
-
-
Method Details
-
passesFilter
Description copied from interface:MOTableRowFilter
Checks whether the supplied row passes the filter criteria implemented by this row filter.- Specified by:
passesFilter
in interfaceMOTableRowFilter<R extends MOTableRow>
- Parameters:
row
- aMOTableRow
instance.- Returns:
true
if the row passes the filter orfalse
if not.
-