/** * Utility that extracts enhancement properties from a configuration line * using the syntax * <pre> * {prop}={value-1},{value-2},..,{value-n} * </pre> * @param line the configuration of a single enhancement property * @return The enhancement properties extracted from the parsed parameters * @since 0.12.1 */ public static Map<String,Object> getEnhancementProperties(Collection<String> lines){ if(lines == null || lines.isEmpty()){ return null; } else { return getEnhancementProperties(getParameters( lines.toArray(new String[lines.size()]), 0)); } }
/** * Utility that extracts enhancement properties from a configuration line * using the syntax * <pre> * {prop}={value-1},{value-2},..,{value-n} * </pre> * @param line the configuration of a single enhancement property * @return The enhancement properties extracted from the parsed parameters * @since 0.12.1 */ public static Map<String,Object> getEnhancementProperties(Collection<String> lines){ if(lines == null || lines.isEmpty()){ return null; } else { return getEnhancementProperties(getParameters( lines.toArray(new String[lines.size()]), 0)); } }
chainPropsConfig = Collections.emptyList(); chainProperties = ConfigUtils.getEnhancementProperties(chainPropsConfig);
chainPropsConfig = Collections.emptyList(); chainProperties = ConfigUtils.getEnhancementProperties(chainPropsConfig);
getState(node.getValue(), "optional"), null, getEnhancementProperties(node.getValue())), node.getValue().get("dependsOn")}); //dependsOn
Map<String,Object> enhProp = ConfigUtils.getEnhancementProperties(entry.getValue()); if(enhProp != null){ chainScopedEnhProps.put(entry.getKey(), enhProp);
last = writeExecutionNode(ep, epNode, parsed.getKey(), optional, last == null ? null : Collections.singleton(last), getEnhancementProperties(parsed.getValue())); } catch (IllegalArgumentException e) { throw new ConfigurationException(PROPERTY_ENGINE_LIST, "Unable to parse Chain Configuraiton (message: '"+