Package com.adobe.granite.rest.filter
Interface Filter<Resource>
-
@ConsumerType public interface Filter<Resource>
TheFilter
is a service interface which is used for filtering aelement
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(Resource element)
Determines whether elements should be filtered or not.
-
-
-
Method Detail
-
matches
boolean matches(Resource element)
Determines whether elements should be filtered or not.- Parameters:
element
- The element to be matched against the filter- Returns:
true
if the element matches the filter, otherwisefalse
-
-