Package com.adobe.granite.rest.filter
Interface Filter<Resource>
-
@ConsumerType public interface Filter<Resource>
TheFilteris a service interface which is used for filtering aelement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(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:
trueif the element matches the filter, otherwisefalse
-
-