Package dk.netarkivet.deploy
Class EvaluateConfigFile
- java.lang.Object
-
- 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
Constructors Constructor Description EvaluateConfigFile(java.io.File deployConfigFile, java.lang.String encoding)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate()
Evaluates the config file.
-
-
-
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)
-
-