Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
As today it is possible to set if missing location can be ignored as global option so it is not possible to set mandatory and optional locations.
It would be nice to have something like:
PropertiesComponent pc = new PropertiesComponent(); pc.setLocations( pc.propertiesLocation("file:data/properties/common.properties"), pc.optionalPropertiesLocation("file:data/properties/override.properties") );
PropertiesComponent pc = new PropertiesComponent(); pc.setLocation("file:data/properties/common.properties,file:data/properties/override.properties;mandatory=false"
If not explicit set, the value set on PropertiesComponent should be taken.