public class FilterChain extends Object implements org.apache.commons.collections.Predicate, Chain<Object,Boolean>
Predicate
sConstructor and Description |
---|
FilterChain() |
FilterChain(List<org.apache.commons.collections.Predicate> filters) |
FilterChain(org.apache.commons.collections.Predicate filter) |
Modifier and Type | Method and Description |
---|---|
Boolean |
chain(Object t) |
boolean |
evaluate(Object object)
Return false the evaluation fails and the tuple is to be filtered out
|
List<org.apache.commons.collections.Predicate> |
getFilters() |
List<? extends org.apache.commons.collections.Predicate> |
getProcessors()
Gets the
List of processors in the chain |
void |
setFilters(List<org.apache.commons.collections.Predicate> filters) |
public FilterChain()
public FilterChain(List<org.apache.commons.collections.Predicate> filters)
public FilterChain(org.apache.commons.collections.Predicate filter)
public boolean evaluate(Object object)
evaluate
in interface org.apache.commons.collections.Predicate
public List<org.apache.commons.collections.Predicate> getFilters()
public void setFilters(List<org.apache.commons.collections.Predicate> filters)
Copyright © 2018. All rights reserved.