Package io.didomi.sdk.utils
Class LocalPropertiesRepository
-
- All Implemented Interfaces:
public final class LocalPropertiesRepositoryMaintains a list of development properties
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringCONFIG_PARAM_REGIONpublic final static StringCONFIG_PARAM_COUNTRYpublic final static StringCONFIG_PARAM_REGULATIONpublic final static StringCONFIG_PARAM_VERSION
-
Constructor Summary
Constructors Constructor Description LocalPropertiesRepository()
-
Method Summary
Modifier and Type Method Description final UnitsetProperty(String key, Object value)Sets the value of a feature flag final StringgetConfigParamCountry()Value for Country configuration parameter final StringgetConfigParamRegion()Value for Region configuration parameter final StringgetConfigParamRegulation()Value for Regulation configuration parameter final StringgetConfigParamVersion()Value for Version configuration parameter -
-
Method Detail
-
setProperty
final Unit setProperty(String key, Object value)
Sets the value of a feature flag
- Parameters:
key- the property namevalue- the requested value
-
getConfigParamCountry
final String getConfigParamCountry()
Value for Country configuration parameter
-
getConfigParamRegion
final String getConfigParamRegion()
Value for Region configuration parameter
-
getConfigParamRegulation
final String getConfigParamRegulation()
Value for Regulation configuration parameter
-
getConfigParamVersion
final String getConfigParamVersion()
Value for Version configuration parameter
-
-
-
-