Interface FilteringAwareObserver
public interface FilteringAwareObserver
A FilteringAwareObserver is the stateless-variant of
an Observer which gets an explicit before as well as the
after NodeState.
It is used by the FilteringObserver (or more precisely by the FilteringDispatcher) to support skipping (ie filtering) of content changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contentChanged
(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info) Equivalent to the state-full contentChanged() method of the Observer with one important difference being that this variation explicitly passes the before NodeState (thus the observer must in this case not remember the previous state)
-
Method Details
-
contentChanged
void contentChanged(@NotNull @NotNull NodeState before, @NotNull @NotNull NodeState after, @NotNull @NotNull CommitInfo info) Equivalent to the state-full contentChanged() method of the Observer with one important difference being that this variation explicitly passes the before NodeState (thus the observer must in this case not remember the previous state)- Parameters:
before
- the before NodeStateafter
- the after NodeStateinfo
- the associated CommitInfo
-