dk.netarkivet.deploy
Class PhysicalLocation

java.lang.Object
  extended by dk.netarkivet.deploy.PhysicalLocation

public class PhysicalLocation
extends java.lang.Object

The physical location class.


Constructor Summary
PhysicalLocation(org.dom4j.Element subTreeRoot, XmlStructure parentSettings, Parameters param, java.lang.String netarchiveSuiteSource, java.io.File logProp, java.io.File securityPolicy, java.io.File dbFile, boolean resetDir)
          The physical locations is referring to the position in the real world where the computers are located.
 
Method Summary
 void write(java.io.File directory)
          Initiate the creation of global scripts and machine scripts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalLocation

public PhysicalLocation(org.dom4j.Element subTreeRoot,
                        XmlStructure parentSettings,
                        Parameters param,
                        java.lang.String netarchiveSuiteSource,
                        java.io.File logProp,
                        java.io.File securityPolicy,
                        java.io.File dbFile,
                        boolean resetDir)
The physical locations is referring to the position in the real world where the computers are located. One physical location can contain many machines.

Parameters:
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.
logProp - The logging property file.
securityPolicy - The security policy file.
dbFile - The name of the database.
resetDir - Whether the temporary directory should be reset.
Method Detail

write

public void write(java.io.File directory)
Initiate the creation of global scripts and machine scripts.

Parameters:
directory - The directory where the files are to be placed.