Class KeyValueCfgObject
java.lang.Object
dev.voidframework.core.remoteconfiguration.KeyValueCfgObject
Represents a simple key / value object. Key must be a simple
string and value could be a string representing anything (ie:
[1,2,3]).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(StringBuilder appConfig) Tries to add this configuration object into the application configuration.toString()Same astoString()but with a potential mask applied to the value.
-
Constructor Details
-
KeyValueCfgObject
Build a new instance.- Parameters:
key- The configuration keyvalue- The configuration value
-
-
Method Details
-
apply
Tries to add this configuration object into the application configuration.- Parameters:
appConfig- The application configuration content
-
toString
-
toStringWithAdaptativeMask
Same astoString()but with a potential mask applied to the value.- Returns:
- A string representation of the object
-