Configuration pluginConfiguration = resource.getPluginConfiguration();
int numberOfProperties = pluginConfiguration.getProperties().size();
String propertyValue = pluginConfiguration.getSimpleValue(propertyDef.getName(), null);
if (propertyValue == null) {
Property templateProperty = templateConfiguration.get(propertyDef.getName());
pluginConfiguration.put(templateProperty.deepCopy(false));
modified = true;
}
}
}