Class PropertyAggregatorUtil

java.lang.Object
com.adobe.acs.commons.ccvar.util.PropertyAggregatorUtil

public class PropertyAggregatorUtil extends Object
Util class with helpers defined to add properties to the Map being constructed.
  • 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 the PropertyConfigService service.
      Parameters:
      map - the map that should be updated with the properties and their values
      entries - the Set of entries in a map to be added
      prefix - the prefix to apply to the
      shouldOverride - if true then properties added can be overridden/replaced with other values
      propertyConfigService - the PropertyConfigService used to check type and exclusion