Class HarvestDatabaseValidator


  • public class HarvestDatabaseValidator
    extends java.lang.Object
    Simple tool to let you verify that you can access the database correctly with settings defined by -Ddk.netarkivet.settings.file=/fullOrrelative/path/to/settings.xml or the settings. Sample Derby settings: ... dk.netarkivet.harvester.datamodel.DerbyServerSpecifics jdbc:derby localhost 48121 harvestDatabase/fullhddb Sample Postgresql settings: ... dk.netarkivet.harvester.datamodel.PostgreSQLSpecifics jdbc:postgresql localhost test_harvestdb 5432 netarchivesuite netarchivesuite
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SETTINGSFILEPATH  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - The path to a settings.xml (optional). If no argument, uses the existing settings.(e.g. by explicit setting it -Ddk.netarkivet.settings.file=/fullOrrelative/path/to/settings.xml )