Class BundledDocumentDiffer
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.bundlor.BundledDocumentDiffer
-
public class BundledDocumentDiffer extends Object
-
-
Constructor Summary
Constructors Constructor Description BundledDocumentDiffer(DocumentNodeStore nodeStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandiff(AbstractDocumentNodeState from, AbstractDocumentNodeState to, JsopWriter w)Performs diff for bundled nodes.
-
-
-
Constructor Detail
-
BundledDocumentDiffer
public BundledDocumentDiffer(DocumentNodeStore nodeStore)
-
-
Method Detail
-
diff
public boolean diff(AbstractDocumentNodeState from, AbstractDocumentNodeState to, JsopWriter w)
Performs diff for bundled nodes. The passed state can be DocumentNodeState or one from secondary nodestore i.e.DelegatingDocumentNodeState. So the passed states cannot be cast down to DocumentNodeState- Parameters:
from- from stateto- to statew- jsop diff- Returns:
- true if the diff needs to be continued. In case diff is complete it would return false
-
-