public class PhysicalLocation extends Object
Constructor and Description |
---|
PhysicalLocation(org.dom4j.Element subTreeRoot,
XmlStructure parentSettings,
Parameters param,
String netarchiveSuiteSource,
File slf4JConfig,
File securityPolicy,
File dbFile,
File arcdbFile,
boolean resetDir,
File externalJarFolder,
DeployConfiguration deployConfiguration)
The physical locations is referring to the position in the real world where the computers are located.
|
Modifier and Type | Method and Description |
---|---|
void |
write(File directory)
Initiate the creation of global scripts and machine scripts.
|
public PhysicalLocation(org.dom4j.Element subTreeRoot, XmlStructure parentSettings, Parameters param, String netarchiveSuiteSource, File slf4JConfig, File securityPolicy, File dbFile, File arcdbFile, boolean resetDir, File externalJarFolder, DeployConfiguration deployConfiguration) throws ArgumentNotValid
subTreeRoot
- The root of this branch in the XML structure.parentSettings
- The settings of the parent (deploy-config).param
- The parameters of the parent (deploy-config).netarchiveSuiteSource
- The name of the NetarchiveSuite file.securityPolicy
- The security policy file.dbFile
- The harvest definition database.arcdbFile
- The archive database.resetDir
- Whether the temporary directory should be reset.externalJarFolder
- The folder containing the external jar library files.ArgumentNotValid
- If one of the following arguments are null: subTreeRoot, parentSettings, param, logProp,
securityPolicy; or if the netarchiveSuiteSource if either null or empty.public void write(File directory) throws ArgumentNotValid
directory
- The directory where the files are to be placed.ArgumentNotValid
- If the directory is null.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.