org.mule.routing.filters.logic
Class AndFilter
java.lang.Object
org.mule.routing.filters.logic.AndFilter
- All Implemented Interfaces:
- UMOFilter
- public class AndFilter
- extends Object
- implements UMOFilter
AndFilter
accepts only if the leftFilter and rightFilter filter
accept.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndFilter
public AndFilter()
AndFilter
public AndFilter(UMOFilter left,
UMOFilter right)
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.