public class EntryLastUpdatedFilter extends Object implements Filter
setAcceptWithoutUpdateDate(boolean)
can be set to always consume the feed.Constructor and Description |
---|
EntryLastUpdatedFilter() |
EntryLastUpdatedFilter(Date lastUpdate) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage message)
Check a given message against this filter.
|
Date |
getLastUpdate() |
boolean |
isAcceptWithoutUpdateDate() |
void |
setAcceptWithoutUpdateDate(boolean acceptWithoutUpdateDate) |
void |
setLastUpdate(Date lastUpdate) |
protected com.sun.syndication.feed.synd.SyndEntry |
transformToSyndEntry(MuleMessage message) |
public EntryLastUpdatedFilter()
public EntryLastUpdatedFilter(Date lastUpdate)
public boolean accept(MuleMessage message)
Filter
protected com.sun.syndication.feed.synd.SyndEntry transformToSyndEntry(MuleMessage message)
public boolean isAcceptWithoutUpdateDate()
public void setAcceptWithoutUpdateDate(boolean acceptWithoutUpdateDate)
public Date getLastUpdate()
public void setLastUpdate(Date lastUpdate)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.