added set method to modify variables (add, update, remove)
added save method to save the changes (lazily).
own implementation to load and save properties files
added findVariable method to find the EnvironmentVariables instance that defines a given variable
reimplemented version set feature and using findVariable we now also render a warning if the version is overridden in another properties file (e.g. in properties located in conf folder).
stripped out more logic from Functions
added EnvironmentVariablesType to classify an EnvironmentVariables instance (via getType() method)
also added getByType method to find the EnvironmentVariables of a given type
added collectVariables method to collect all declared variables for EnvironmentCommand that now also uses the new context infrastructure.
Implements #1337:
set
method to modify variables (add, update, remove)save
method to save the changes (lazily).findVariable
method to find theEnvironmentVariables
instance that defines a given variableversion set
feature and usingfindVariable
we now also render a warning if the version is overridden in another properties file (e.g. in properties located inconf
folder).Functions
EnvironmentVariablesType
to classify anEnvironmentVariables
instance (viagetType()
method)getByType
method to find theEnvironmentVariables
of a given typecollectVariables
method to collect all declared variables forEnvironmentCommand
that now also uses the new context infrastructure.