Interface Filter
-
public interface Filter
A filter is used by the FilteringObserver to decide whether or not a content change should be forwarded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 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 stateinfo
- the associated CommitInfo- Returns:
- true to exclude this content change (not forward), false to include it (forward)
-
-