Package com.adobe.cq.history.filter
Class ResourceTypesFilter
- java.lang.Object
-
- com.adobe.cq.history.filter.ResourceTypesFilter
-
- All Implemented Interfaces:
Filter<HistoryEntry>
public class ResourceTypesFilter extends Object implements Filter<HistoryEntry>
-
-
Constructor Summary
Constructors Constructor Description ResourceTypesFilter(Collection<String> filteredResourceTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includes(HistoryEntry historyEntry)
Checks if the given element is included in this filter.
-
-
-
Constructor Detail
-
ResourceTypesFilter
public ResourceTypesFilter(Collection<String> filteredResourceTypes)
-
-
Method Detail
-
includes
public boolean includes(HistoryEntry historyEntry)
Description copied from interface:Filter
Checks if the given element is included in this filter.- Specified by:
includes
in interfaceFilter<HistoryEntry>
- Parameters:
historyEntry
- the element to check- Returns:
true
if the element is included;false
otherwise.
-
-