Class CompositeObserver
java.lang.Object
org.apache.jackrabbit.oak.spi.commit.CompositeObserver
- All Implemented Interfaces:
Observer
Composite observer that delegates all content changes to the set of
currently registered component observers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(@NotNull Observer observer) voidcontentChanged(@NotNull NodeState root, @NotNull CommitInfo info) Observes a content change.voidremoveObserver(@NotNull Observer observer) toString()
-
Constructor Details
-
CompositeObserver
public CompositeObserver()
-
-
Method Details
-
addObserver
-
removeObserver
-
contentChanged
Description copied from interface:ObserverObserves a content change. See theObserverclass javadocs and relevant repository and observer registration details for more information on when and how this method gets called.- Specified by:
contentChangedin interfaceObserver- Parameters:
root- root state of the repositoryinfo- commit information
-
toString
-