Package org.apache.camel.component.feed
Interface EntryFilter
-
- All Known Implementing Classes:
UpdatedDateFilter
public interface EntryFilter
Filter used by theFeedEntryPollingConsumer
to filter entries from the feed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
isValidEntry
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.- Parameters:
endpoint
- the endpointfeed
- the feedentry
- the given entry to filter- Returns:
- true to include the entry,
false to skip it
-
-