public abstract class DiffObserver extends Object implements Observer
getRootDiff(NodeState, NodeState, CommitInfo) method.| Constructor and Description |
|---|
DiffObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info)
Observes a content change.
|
protected abstract NodeStateDiff |
getRootDiff(@NotNull NodeState before,
@NotNull NodeState after,
@NotNull CommitInfo info)
Returns the diff handler to be used for the given content change.
|
protected abstract NodeStateDiff getRootDiff(@NotNull @NotNull NodeState before, @NotNull @NotNull NodeState after, @NotNull @NotNull CommitInfo info)
before - state of the repository before this changesafter - state of the repository after this changesinfo - local commit information, or null if not availablepublic final void contentChanged(@NotNull
@NotNull NodeState root,
@NotNull
@NotNull CommitInfo info)
ObserverObserver class javadocs
and relevant repository and observer registration details for more
information on when and how this method gets called.contentChanged in interface Observerroot - root state of the repositoryinfo - commit informationCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.