org.mule.routing.filters.logic
Class AndFilter

java.lang.Object
  extended by org.mule.routing.filters.logic.AbstractFilterCollection
      extended by org.mule.routing.filters.logic.AndFilter
All Implemented Interfaces:
Filter

public class AndFilter
extends AbstractFilterCollection

AndFilter accepts only if all the filters accept.


Constructor Summary
AndFilter()
           
AndFilter(Filter left, Filter right)
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 
Methods inherited from class org.mule.routing.filters.logic.AbstractFilterCollection
equals, getFilters, getLeftFilter, getRightFilter, hashCode, setFilters, setLeftFilter, setRightFilter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndFilter

public AndFilter()

AndFilter

public AndFilter(Filter left,
                 Filter right)
Parameters:
left -
right -
Method Detail

accept

public boolean accept(MuleMessage message)
Description copied from interface: Filter
Check a given message against this filter.

Parameters:
message - a non null message to filter.
Returns:
true if the message matches the filter


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.