@Activate protected void activate(final Map<String, Object> config) { supportMultiLevel = PropertiesUtil.toBoolean(config.get(PROP_SUPPORT_MULTI_LEVEL), DEFAULT_SUPPORT_MULTI_LEVEL); // Property Names namespaceablePropertyNames = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_NAMES), DEFAULT_NAMESPACEABLE_PROPERTY_NAMES); // Property Value Patterns namespaceablePropertyValuePatterns = new ArrayList<Pattern>(); String[] regexes = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS), DEFAULT_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS); for (final String regex : regexes) { namespaceablePropertyValuePatterns.add(Pattern.compile(regex)); } final InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - CQInclude Property Namespace Servlet"); iw.message("Namespace-able Property Names: {}", Arrays.asList(namespaceablePropertyNames)); iw.message("Namespace-able Property Value Patterns: {}", namespaceablePropertyValuePatterns); iw.end(); log.info(iw.toString()); }
@Activate protected void activate(final Map<String, Object> config) { supportMultiLevel = PropertiesUtil.toBoolean(config.get(PROP_SUPPORT_MULTI_LEVEL), DEFAULT_SUPPORT_MULTI_LEVEL); // Property Names namespaceablePropertyNames = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_NAMES), DEFAULT_NAMESPACEABLE_PROPERTY_NAMES); // Property Value Patterns namespaceablePropertyValuePatterns = new ArrayList<Pattern>(); String[] regexes = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS), DEFAULT_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS); for (final String regex : regexes) { namespaceablePropertyValuePatterns.add(Pattern.compile(regex)); } final InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - CQInclude Property Namespace Servlet"); iw.message("Namespace-able Property Names: {}", Arrays.asList(namespaceablePropertyNames)); iw.message("Namespace-able Property Value Patterns: {}", namespaceablePropertyValuePatterns); iw.end(); log.info(iw.toString()); }
iw.message("Batch size: {}", batchSize); iw.message("Max Duration (minutes): {}", maxDuration); iw.end();
iw.message("Batch size: {}", batchSize); iw.message("Max Duration (minutes): {}", maxDuration); iw.end();