Package kieker.tools.settings
Class ConfigurationParser
java.lang.Object
kieker.tools.settings.ConfigurationParser
public class ConfigurationParser
extends java.lang.Object
Parse configuration settings and fill them into a settings object.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description ConfigurationParser(java.lang.String prefix, java.lang.Object settings)
Setup configuration parser for the given settings object and with a configuration parameter name prefix. -
Method Summary
Modifier and Type Method Description void
parse(Configuration configuration)
-
Constructor Details
-
ConfigurationParser
public ConfigurationParser(java.lang.String prefix, java.lang.Object settings)Setup configuration parser for the given settings object and with a configuration parameter name prefix.- Parameters:
prefix
- prefix used for all parameters relevant for this tool. In case no prefix should be used, pass an empty string or null.settings
-
-
-
Method Details
-
parse
- Throws:
com.beust.jcommander.ParameterException
-