Class DeployConfiguration


  • public class DeployConfiguration
    extends Object
    The structure for the deploy-config. Loads the deploy-configuration from an XML file into a XmlStructure.
    • Constructor Detail

      • DeployConfiguration

        public DeployConfiguration​(File deployConfigFileName,
                                   File netarchiveSuiteFileName,
                                   File secPolicyFileName,
                                   File slf4jConfigFileName,
                                   String outputDirName,
                                   File dbFileName,
                                   File arcdbFileName,
                                   boolean resetDir,
                                   File externalJarFolder,
                                   String sourceEncoding,
                                   File defaultBundlerZip,
                                   File logoFile,
                                   File menulogoFile,
                                   File bitmagSourceDir)
                            throws ArgumentNotValid
        Constructor. Initialise everything.
        Parameters:
        deployConfigFileName - Name of configuration file.
        netarchiveSuiteFileName - Name of installation file.
        secPolicyFileName - Name of security policy file.
        outputDirName - Directory for the output.
        dbFileName - Name of the database.
        arcdbFileName - The name of the archive database.
        resetDir - Whether the temporary directory should be reset.
        externalJarFolder - The folder containing the external jar library files.
        sourceEncoding - the encoding to use to read input files
        Throws:
        ArgumentNotValid - If one of the following arguments is null: deployConfigFileName netarchiveSuiteFileName, secPolicyFileName, logPropFileName.
    • Method Detail

      • write

        public void write()
        Makes every physical location create their scripts.
      • getDefaultBundlerZip

        public File getDefaultBundlerZip()
        Returns:
        The default harvester bundler zip file to use deploy to the relevant harvesters.