org.mule.routing.filters.logic
Class OrFilter
java.lang.Object
org.mule.routing.filters.logic.OrFilter
- All Implemented Interfaces:
- UMOFilter
- public class OrFilter
- extends Object
- implements UMOFilter
OrFilter
accepts if the leftFilter or rightFilter filter accept.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrFilter
public OrFilter(UMOFilter leftFilter,
UMOFilter rightFilder)
OrFilter
public OrFilter()
setLeftFilter
public void setLeftFilter(UMOFilter leftFilter)
setRightFilter
public void setRightFilter(UMOFilter rightFilter)
getLeftFilter
public UMOFilter getLeftFilter()
getRightFilter
public UMOFilter getRightFilter()
accept
public boolean accept(UMOMessage message)
- Description copied from interface:
UMOFilter
- Check a given message against this filter.
- Specified by:
accept
in interface UMOFilter
- Parameters:
message
- a non null message to filter.
- Returns:
true
if the message matches the filter
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.