org.mule.module.atom.routing
Class EntryLastUpdatedFilter
java.lang.Object
org.mule.module.atom.routing.EntryLastUpdatedFilter
- All Implemented Interfaces:
- Filter
public class EntryLastUpdatedFilter
- extends Object
- implements Filter
Will filter entries in an atom feed based on the lasted Edited date, falling back to the
published date if the edit date was not set
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntryLastUpdatedFilter
public EntryLastUpdatedFilter()
EntryLastUpdatedFilter
public EntryLastUpdatedFilter(Date lastUpdate)
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
isAcceptWithoutUpdateDate
public boolean isAcceptWithoutUpdateDate()
setAcceptWithoutUpdateDate
public void setAcceptWithoutUpdateDate(boolean acceptWithoutUpdateDate)
getLastUpdate
public Date getLastUpdate()
setLastUpdate
public void setLastUpdate(Date lastUpdate)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.