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

    Modifier and Type
    Method
    Description
    boolean
    excludes(@NotNull NodeState root, @NotNull CommitInfo info)
    Whether or not to exclude a particular content change from being forwarded to downstream observers.
  • Method Details

    • 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)