public class FeedLastUpdatedFilter extends Object implements Filter
setAcceptWithoutUpdateDate(boolean)
can be set to always consume the feedConstructor and Description |
---|
FeedLastUpdatedFilter() |
FeedLastUpdatedFilter(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) |
public FeedLastUpdatedFilter()
public FeedLastUpdatedFilter(Date lastUpdate)
public boolean accept(MuleMessage message)
Filter
public boolean isAcceptWithoutUpdateDate()
public void setAcceptWithoutUpdateDate(boolean acceptWithoutUpdateDate)
public Date getLastUpdate()
public void setLastUpdate(Date lastUpdate)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.