Class HeritrixControllerFactory

    • Constructor Detail

      • HeritrixControllerFactory

        public HeritrixControllerFactory()
    • Method Detail

      • getDefaultHeritrixController

        public static IHeritrixController getDefaultHeritrixController​(Object... args)
                                                                throws ArgumentNotValid
        Returns an instance of the default HeritrixController implementation defined by the setting dk.netarkivet.harvester.harvesting.heritrixController.class . This class must have a constructor or factory method with a signature matching the array args.
        Parameters:
        args - the arguments to the constructor or factory method
        Returns:
        the HeritrixController instance.
        Throws:
        ArgumentNotValid - if the instance cannot be constructed.