Class GenerateVersionInconsistencyReport


  • public class GenerateVersionInconsistencyReport
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The tool is not integrated in the Oak-run Command framework as it's not intended for frequent or generic use.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenerateVersionInconsistencyReport

        public GenerateVersionInconsistencyReport()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.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:
        java.io.IOException