04.07., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit a714f72e authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

Added TODOs to "VadereConfig".

parent 60efbaac
Pipeline #121750 passed with stages
in 159 minutes and 19 seconds
......@@ -28,14 +28,16 @@ public class VadereConfig {
// Static Variables
private static final Logger logger = Logger.getLogger(VadereConfig.class);
// TODO: Define concept to read and write config file, i.e.:
// - Where is config file stored? "%AppData%" in Windows? "~/.config/" in GNU/Linux?
// - Write default config file if no config file exists.
// - Add flag "--config-file <path/to/file> to all(!) Vadere applications?
// TODO: Provide following functionality:
// - Use OS-secific location: preferred home directory (or "%AppData%" in Windows or "~/.config" in Linux respectively).
// - Write default config file if no config file exists or errors occur while reading existing config file.
// - Add flag "--config-file <path/to/file> to all(!) Vadere applications.
private static final String PATH_TO_CONFIG = "./vadere.conf";
private static final VadereConfig SINGLETON_INSTANCE = new VadereConfig(PATH_TO_CONFIG);
// Variables
// TODO: Use "PropertiesConfiguration" and "dot" notation in "vadere.conf" and avoid "decorate()" method.
// See https://commons.apache.org/proper/commons-configuration/userguide_v1.10/howto_properties.html#Properties_files)
private final INIConfiguration configuration;
private final HashMap<String, IConfigSection> configSections;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment