Interface SmiObjectFilter<S extends SmiObject>
- Type Parameters:
S- the concreteSmiObjectsub-type that this filter operates on.
- All Known Implementing Classes:
SmiObjectJsonMatcher
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpassesFilter(SmiType smiType) Determines if the givenSmiTypegenerally passes this filter.booleanpassesFilter(S smiObject) Determines if the supplied smiObject passes the filter or not.
-
Method Details
-
passesFilter
Determines if the supplied smiObject passes the filter or not.- Parameters:
smiObject- the smiObject to check.- Returns:
trueif smiObject passes the filter orfalseotherwise.
-
passesFilter
Determines if the givenSmiTypegenerally passes this filter. This method is called for performance optimization beforepassesFilter(SmiObject).- Parameters:
smiType- the SMI object type.- Returns:
trueif smiObjects of smiType passes the filter orfalseotherwise.
-