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... filters)
           
AndFilter(List<Filter> filters)
           
 
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, hashCode, setFilters
 
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... filters)

AndFilter

public AndFilter(List<Filter> filters)
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-2012 MuleSoft, Inc.. All Rights Reserved.