Class PhysicalLocation


  • public class PhysicalLocation
    extends java.lang.Object
    The physical location class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.io.File logoFile
      user specific logo png file
      protected java.io.File menulogoFile
      user specific menulogo png file
    • Constructor Summary

      Constructors 
      Constructor Description
      PhysicalLocation​(org.dom4j.Element subTreeRoot, XmlStructure parentSettings, Parameters param, java.lang.String netarchiveSuiteSource, java.io.File slf4JConfig, java.io.File securityPolicy, java.io.File dbFile, java.io.File arcdbFile, boolean resetDir, java.io.File externalJarFolder, java.io.File aLogoFile, java.io.File aMenulogoFile, java.io.File bitmagFolder, DeployConfiguration deployConfiguration)
      The physical locations is referring to the position in the real world where the computers are located.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • logoFile

        protected java.io.File logoFile
        user specific logo png file
      • menulogoFile

        protected java.io.File menulogoFile
        user specific menulogo png file
    • Constructor Detail

      • PhysicalLocation

        public PhysicalLocation​(org.dom4j.Element subTreeRoot,
                                XmlStructure parentSettings,
                                Parameters param,
                                java.lang.String netarchiveSuiteSource,
                                java.io.File slf4JConfig,
                                java.io.File securityPolicy,
                                java.io.File dbFile,
                                java.io.File arcdbFile,
                                boolean resetDir,
                                java.io.File externalJarFolder,
                                java.io.File aLogoFile,
                                java.io.File aMenulogoFile,
                                java.io.File bitmagFolder,
                                DeployConfiguration deployConfiguration)
                         throws ArgumentNotValid
        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.
        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.
        Throws:
        ArgumentNotValid - If one of the following arguments are null: subTreeRoot, parentSettings, param, logProp, securityPolicy; or if the netarchiveSuiteSource if either null or empty.
    • Method Detail

      • write

        public void write​(java.io.File directory)
                   throws ArgumentNotValid
        Initiate the creation of global scripts and machine scripts.
        Parameters:
        directory - The directory where the files are to be placed.
        Throws:
        ArgumentNotValid - If the directory is null.