org.mule.routing.filters.logic
Class NotFilter

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

public class NotFilter
extends Object
implements Filter

NotFilter accepts if the filter does not accept.


Constructor Summary
NotFilter()
           
NotFilter(Filter filter)
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 boolean equals(Object obj)
           
 Filter getFilter()
           
 int hashCode()
           
 void setFilter(Filter filter)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotFilter

public NotFilter()

NotFilter

public NotFilter(Filter filter)
Method Detail

getFilter

public Filter getFilter()

setFilter

public void setFilter(Filter filter)

accept

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

Specified by:
accept in interface Filter
Parameters:
message - a non null message to filter.
Returns:
true if the message matches the filter

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.