dk.netarkivet.deploy
Class EvaluateConfigFile

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

public class EvaluateConfigFile
extends java.lang.Object

Class for evaluating a config file. Tests the settings in the config file against default settings to test for wrongly assigned elements.


Constructor Summary
EvaluateConfigFile(java.io.File deployConfigFile, java.lang.String encoding)
          Constructor.
 
Method Summary
 void evaluate()
          Evaluates the config file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluateConfigFile

public EvaluateConfigFile(java.io.File deployConfigFile,
                          java.lang.String encoding)
Constructor. Only initialises the config file and settings list.

Parameters:
deployConfigFile - The file to evaluate.
encoding - the encoding to use to read from file
Method Detail

evaluate

public void evaluate()
Evaluates the config file. This is done by evaluating the settings branch for all the instances in the XML-tree (global, physical locaiton, machine and application)