final Boolean ignoreDescriptorItem,
final String value,
final String envEntryType,
final ActionReport report) throws PropertyVetoException, TransactionFailure {
WebModuleConfig config = WebModuleConfig.Duck.webModuleConfig(owningEngine);
if (config == null) {
createEnvEntryOnNewWMC(owningEngine, name, value, envEntryType,
description, ignoreDescriptorItem);
} else {
EnvEntry entry = config.getEnvEntry(name);
if (entry == null) {
if (isTypeOrIgnorePresent(ignoreDescriptorItem, envEntryType, report)) {
createEnvEntryOnExistingWMC(config, name,
value, envEntryType, description, ignoreDescriptorItem);
}