Interface Filter


  • public interface Filter
    A filter is used by the FilteringObserver to decide whether or not a content change should be forwarded.
    • Method Detail

      • excludes

        boolean excludes​(@NotNull
                         @NotNull NodeState root,
                         @NotNull
                         @NotNull CommitInfo info)
        Whether or not to exclude a particular content change from being forwarded to downstream observers.
        Parameters:
        root - the new root state
        info - the associated CommitInfo
        Returns:
        true to exclude this content change (not forward), false to include it (forward)