Package org.apache.jackrabbit.oak.run
Class GenerateVersionInconsistencyReport
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.GenerateVersionInconsistencyReport
-
public class GenerateVersionInconsistencyReport extends Object
Generate a report with the list of affected versionHistory nodes containing empty version nodes or an incorrect primaryType. This is something that shouldn't happen when Oak is strictly used, but some external tools may introduce this kind of inconsistencies.
-
-
Constructor Summary
Constructors Constructor Description GenerateVersionInconsistencyReport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
The tool is not integrated in the Oak-run Command framework as it's not intended for frequent or generic use.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
The tool is not integrated in the Oak-run Command framework as it's not intended for frequent or generic use.- Parameters:
args
- At least 2 arguments are expected: - MongoDB URI - Repository admin username (optional) - Repository admin password- Throws:
IOException
-
-