Configures the analysis according to a configuration text file.
This class reads the configuration instructions from a text file, with one instruction per line. The actual handling of each line is left to objects belonging to children classes of #ConfigLineHandler.
Configures the analysis manager using the given configuration file.
The file must contain a sequence of commands, one per line. The syntax is determined by which #ConfigLineHandler is used. The line handler can be passed as argument; otherwise it is automatically created. If the line handler throws the IncludeFileExc exception then the processing of the current file will be interrupted, and the file specified by the exception will be processed using the same ConfigLineHandler. So the net behavior will be the same as if the include file were pasted at the line where the exception was thrown. After processing the included file the processing will continue on the original file. The return value will be false if an error occurs, or if some of the entities (data providers, algorithms, persistence services) configured in the command line are not present.
- Parameters
-
anManager | The analysis manager. |
configFile | The config file. |
clParams | the command line parameters. |
- Returns
- true if the analysis manager has been correctly configured.
- See also
- SetLineHandler
Implements EA::Configurator.