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
RAISE_ERROR_IDENTIFIER or ERROR_MAPPING_IDENTIFIER within an OperationModel, where each prefix must
either match MULE or the current namespace of the XmlDslModel.getPrefix()).| Modifier and Type | Field and Description |
|---|---|
static String |
CORE_ERROR_NS |
static String |
EMPTY_TYPE_FORMAT_MESSAGE |
static String |
ERROR_MAPPING |
static org.mule.runtime.api.component.ComponentIdentifier |
ERROR_MAPPING_IDENTIFIER |
static String |
RAISE_ERROR |
static org.mule.runtime.api.component.ComponentIdentifier |
RAISE_ERROR_IDENTIFIER |
static String |
TARGET_TYPE |
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 TARGET_TYPE
public static final String CORE_ERROR_NS
public static final String ERROR_MAPPING
public static final String RAISE_ERROR
public static final org.mule.runtime.api.component.ComponentIdentifier ERROR_MAPPING_IDENTIFIER
public static final org.mule.runtime.api.component.ComponentIdentifier RAISE_ERROR_IDENTIFIER
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–2022 MuleSoft, Inc.. All rights reserved.