public class UpdatedDateFilter extends Object implements EntryFilter
Constructor and Description |
---|
UpdatedDateFilter(Date lastUpdate) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValidEntry(FeedEndpoint endpoint,
Object feed,
Object entry)
Tests to be used as filtering the feed for only entries of interest, such as only new entries, etc.
|
public UpdatedDateFilter(Date lastUpdate)
public boolean isValidEntry(FeedEndpoint endpoint, Object feed, Object entry)
EntryFilter
isValidEntry
in interface EntryFilter
endpoint
- the endpointfeed
- the feedentry
- the given entry to filterApache Camel