Package com.adobe.acs.commons.ccvar.util
Class PropertyAggregatorUtil
java.lang.Object
com.adobe.acs.commons.ccvar.util.PropertyAggregatorUtil
Util class with helpers defined to add properties to the
Map being constructed.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPropertiesToMap(Map<String, Object> map, Set<Map.Entry<String, Object>> entries, String prefix, boolean shouldOverride, PropertyConfigService propertyConfigService) Add the properties provided to the given map.
-
Method Details
-
addPropertiesToMap
public static void addPropertiesToMap(Map<String, Object> map, Set<Map.Entry<String, Object>> entries, String prefix, boolean shouldOverride, PropertyConfigService propertyConfigService) Add the properties provided to the given map. Excluded properties are found in thePropertyConfigServiceservice.- Parameters:
map- the map that should be updated with the properties and their valuesentries- the Set of entries in a map to be addedprefix- the prefix to apply to theshouldOverride- if true then properties added can be overridden/replaced with other valuespropertyConfigService- thePropertyConfigServiceused to check type and exclusion
-