Class CompositeObserver
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.commit.CompositeObserver
-
-
Constructor Summary
Constructors Constructor Description CompositeObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObserver(@NotNull Observer observer)
void
contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
Observes a content change.void
removeObserver(@NotNull Observer observer)
java.lang.String
toString()
-
-
-
Method Detail
-
addObserver
public void addObserver(@NotNull @NotNull Observer observer)
-
removeObserver
public void removeObserver(@NotNull @NotNull Observer observer)
-
contentChanged
public void contentChanged(@NotNull @NotNull NodeState root, @NotNull @NotNull CommitInfo info)
Description copied from interface:Observer
Observes a content change. See theObserver
class javadocs and relevant repository and observer registration details for more information on when and how this method gets called.- Specified by:
contentChanged
in interfaceObserver
- Parameters:
root
- root state of the repositoryinfo
- commit information
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-