public class CustomKeyFilter extends Object implements DataProviderFilter
Modifier and Type | Field and Description |
---|---|
protected static SimpleLogger |
logger |
Constructor and Description |
---|
CustomKeyFilter(String keyName,
String keyValues) |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(Object data)
This function identifies whether the object falls in the filtering criteria or not based on the filterKeyName and
its corresponding filterKeyValues.
|
String |
toString() |
protected static final SimpleLogger logger
public CustomKeyFilter(String keyName, String keyValues)
keyName
- - The key name that is to be used for filtering.keyValues
- - The key values that are to be used for filtering.
It can be the format of"Ram,Raj,Ren" for Customer Name filterKey or "222,234,567"
for Customer Id filterkey.public boolean filter(Object data)
filter
in interface DataProviderFilter
data
- the object to be filtered.Copyright © 2016 PayPal Open Source. All rights reserved.