org.mule.providers.email.filters
Class AbstractMailFilter
java.lang.Object
org.mule.providers.email.filters.AbstractMailFilter
- All Implemented Interfaces:
- UMOFilter
- Direct Known Subclasses:
- MailSubjectRegExFilter
- public abstract class AbstractMailFilter
- extends Object
- implements UMOFilter
AbstractMailFilter
is a base class for all javax.mail.Message
filters.
Field Summary |
protected Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
AbstractMailFilter
public AbstractMailFilter()
accept
public final 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 abstract boolean accept(Message message)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.