public class OrFilter extends AbstractFilterCollection
OrFilter
accepts if any of the filters accept the messageConstructor and Description |
---|
OrFilter() |
OrFilter(Filter... filters) |
OrFilter(List<Filter> filters) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage message)
Check a given message against this filter.
|
equals, getFilters, hashCode, setFilters
public OrFilter()
public OrFilter(Filter... filters)
public boolean accept(MuleMessage message)
Filter
message
- a non null message to filter.true
if the message matches the filterCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.