Package dev.comfast.experimental.config
Class ConfigReader
java.lang.Object
dev.comfast.experimental.config.ConfigReader
Read config from system properties / appConfig / referenceConfig
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfigReader
public ConfigReader()
-
-
Method Details
-
getDouble
-
getLong
-
getBool
-
getString
Get config value from:- System property
- appConfig.yaml/json/properties
- referenceConfig.yaml/json/properties
- Parameters:
key- config key- Returns:
- config value
-