org.mule.routing.filters
Class EqualsFilter
java.lang.Object
org.mule.routing.filters.EqualsFilter
- All Implemented Interfaces:
- ObjectFilter, UMOFilter
- public class EqualsFilter
- extends Object
- implements UMOFilter, ObjectFilter
EqualsFilter
is a filter for comparing two objects using the
equals() method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EqualsFilter
public EqualsFilter()
EqualsFilter
public EqualsFilter(Object compareTo)
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
accept
public boolean accept(Object object)
- Specified by:
accept
in interface ObjectFilter
getPattern
public Object getPattern()
setPattern
public void setPattern(Object pattern)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.