Lines Matching defs:templateMap
76 public Map<String, String> templateMap = new HashMap<>();
86 * with {@code null} {@code templateMap}.
93 * Two-arg convenience constructor. {@code templateMap} may be null.
95 public ConfigId(String name, Map<String, String> templateMap) {
97 if (templateMap != null) {
98 this.templateMap.putAll(templateMap);
107 return 2 * ((name == null) ? 0 : name.hashCode()) + 3 * templateMap.hashCode();
129 return matches(name, otherConf.name) && matches(templateMap, otherConf.templateMap);
249 public ConfigurationDef getConfigurationDef(String name, Map<String, String> templateMap)
266 final ConfigId configId = new ConfigId(name, templateMap);
271 loadConfiguration(configName, def, null, templateMap);
274 if (templateMap != null) {
277 templateMap.clear();
329 Map<String, String> templateMap)
368 loadConfiguration(config_name, def, deviceTagObject, templateMap);
379 * @param templateMap map from template-include names to their respective concrete
388 Map<String, String> templateMap)
393 parser.parse(def, name, bufStream, templateMap);
433 String name, boolean isGlobal, Map<String, String> templateMap)
435 return new ConfigLoader(isGlobal).getConfigurationDef(name, templateMap);
524 parserSettings.templateMap);
525 if (!parserSettings.templateMap.isEmpty()) {
535 parserSettings.templateMap.toString()));
685 private ConfigurationDef attemptLoad(ConfigId configId, Map<String, String> templateMap)
689 configDef = getConfigurationDef(configId.name, false, templateMap);
695 if (templateMap != null) {
696 fakeTemplateMap.putAll(templateMap);