Class BundledDocumentDiffer

java.lang.Object
org.apache.jackrabbit.oak.plugins.document.bundlor.BundledDocumentDiffer

public class BundledDocumentDiffer extends Object
  • Constructor Details

  • Method Details

    • 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 state
      to - to state
      w - jsop diff
      Returns:
      true if the diff needs to be continued. In case diff is complete it would return false