Package org.apache.camel.component.feed
Interface EntryFilter<E>
-
- Type Parameters:
E- entry type
- All Superinterfaces:
org.apache.camel.resume.ResumeAdapter
- All Known Implementing Classes:
UpdatedDateFilter
public interface EntryFilter<E> extends org.apache.camel.resume.ResumeAdapterFilter used by theFeedEntryPollingConsumerto filter entries from the feed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanisValidEntry(E entry)Tests to be used as filtering the feed for only entries of interest, such as only new entries, etc.default voidresume()
-
-
-
Method Detail
-
isValidEntry
boolean isValidEntry(E entry)
Tests to be used as filtering the feed for only entries of interest, such as only new entries, etc.- Parameters:
entry- the given entry to filter- Returns:
- true to include the entry,
false to skip it
-
resume
default void resume()
- Specified by:
resumein interfaceorg.apache.camel.resume.ResumeAdapter
-
-