Interface PojoPathFilter<S>
-
- Type Parameters:
S
- The expected type of the object representing a set of paths.
- All Known Implementing Classes:
StringSetPojoPathFilter
public interface PojoPathFilter<S>
Defines a set of paths that are of importance, so that they can be detected at runtime when given a set of paths.Used in particular in dirty checking, see
PojoImplicitReindexingResolver
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <S> PojoPathFilter<S>
empty()
boolean
test(S paths)
Determines if any path in the given set of paths of is accepted by this filter.
-
-
-
Method Detail
-
test
boolean test(S paths)
Determines if any path in the given set of paths of is accepted by this filter.This method may be called very often. Implementations should take care to organize their internal data adequately, so that lookups are fast.
- Parameters:
paths
- An object representing a set of paths. Nevernull
.- Returns:
true
if any path in the given set is accepted by this filter,false
otherwise.
-
empty
static <S> PojoPathFilter<S> empty()
-
-