Class Consistency
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.Consistency
-
public class Consistency extends Object
Consistency check on aNodeDocument
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Consistency.Result
Callback interface for result of a consistency check.
-
Constructor Summary
Constructors Constructor Description Consistency(@NotNull DocumentNodeState root, @NotNull NodeDocument document)
Creates a new consistency check for the givenNodeDocument
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(@NotNull DocumentNodeStore ns, @NotNull Consistency.Result collector)
-
-
-
Constructor Detail
-
Consistency
public Consistency(@NotNull @NotNull DocumentNodeState root, @NotNull @NotNull NodeDocument document)
Creates a new consistency check for the givenNodeDocument
.- Parameters:
root
- the current root node state to use for the check.document
- the document to check.
-
-
Method Detail
-
check
public void check(@NotNull @NotNull DocumentNodeStore ns, @NotNull @NotNull Consistency.Result collector)
-
-