Package com.ibm.di.server.criteria
Interface MatchCustomizer
-
- All Known Implementing Classes:
DefaultMatcherCustomizer
public interface MatchCustomizer
Defines a contract for plugging in a customization of the default matching mechanism.
Note: This class is for internal usage only. Any dependency from the end-user will not be supported. Changes to this class will happen without a warning.- Since:
- 7.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
match(SearchCriteria.rscSearch criterion, java.lang.Object value)
Matches all values of the specified attribute against the specified criterion.
-
-
-
Method Detail
-
match
boolean match(SearchCriteria.rscSearch criterion, java.lang.Object value)
Matches all values of the specified attribute against the specified criterion. If more than one value of an attribute must be matched this method will be called several times with different values forSearchCriteria.rscSearch.value
.- Parameters:
criterion
- the defined criteriavalue
- the value found in the Attribute of the provided entry- Returns:
- true if the specified value match, false otherwise
- Throws:
java.lang.IllegalArgumentException
- thrown to denote unexpected data is provided. Make sure an appropriate message is displayed as the exception will be propagated back to the user.
-
-