public class CorrectPrefixesValidator extends Object implements org.mule.runtime.extension.api.loader.ExtensionModelValidator
ExtensionModelValidator which applies to ExtensionModels which are XML based, as those that contain usages of
CoreDslConstants.RAISE_ERROR_IDENTIFIER or ApplicationModel.ERROR_MAPPING_IDENTIFIER within an
OperationModel, where each prefix must either match BeanDefinitionFactory.CORE_ERROR_NS or the current
namespace of the XmlDslModel.getPrefix()).| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_TYPE_FORMAT_MESSAGE |
static String |
TYPE_RAISE_ERROR_ATTRIBUTE |
static String |
WRONG_VALUE_FORMAT_MESSAGE |
| Constructor and Description |
|---|
CorrectPrefixesValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.extension.api.loader.ProblemsReporter problemsReporter) |
public static final String TYPE_RAISE_ERROR_ATTRIBUTE
public static final String EMPTY_TYPE_FORMAT_MESSAGE
public static final String WRONG_VALUE_FORMAT_MESSAGE
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.