public class EmptyObserver extends java.lang.Object implements Observer
null
check when invoking the observer.Modifier and Type | Field and Description |
---|---|
static EmptyObserver |
INSTANCE
Static instance of this class, useful as a "null object".
|
Constructor and Description |
---|
EmptyObserver() |
Modifier and Type | Method and Description |
---|---|
void |
contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info)
Observes a content change.
|
public static final EmptyObserver INSTANCE
public void contentChanged(@NotNull @NotNull NodeState root, @NotNull @NotNull CommitInfo info)
Observer
Observer
class javadocs
and relevant repository and observer registration details for more
information on when and how this method gets called.contentChanged
in interface Observer
root
- root state of the repositoryinfo
- commit informationCopyright © 2010 - 2020 Adobe. All Rights Reserved