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 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. Never null.
        Returns:
        true if any path in the given set is accepted by this filter, false otherwise.