public class StringContentFilter extends Object implements EventFilter
| Constructor and Description |
|---|
StringContentFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filter(Event event)
Filter event if word occurs in wordsToFilter.
|
List<String> |
getWordsToFilter()
Gets the words to filter.
|
void |
setWordsToFilter(List<String> wordsToFilter)
Sets the words to filter.
|
public List<String> getWordsToFilter()
public void setWordsToFilter(List<String> wordsToFilter)
wordsToFilter - the new words to filter listpublic boolean filter(Event event)
filter in interface EventFilterevent - the eventCopyright © 2011–2015 Talend Inc.. All rights reserved.