Class NameClashModelValidator
java.lang.Object
org.mule.runtime.extension.internal.loader.validator.NameClashModelValidator
- All Implemented Interfaces:
ExtensionModelValidator
Validates names clashes in the model by comparing:
- The
NamedObject.getName()value of all theConfigurationModel,OperationModelandConnectionProviderModel - Makes sure that there no two
ParameterModels with the same name but different types, for those which represent an object - Makes sure that no
ConfigurationModel,OperationModelorConnectionProviderModelhave parameters with repeated name
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(org.mule.runtime.api.meta.model.ExtensionModel model, DslSyntaxResolver syntaxResolver, ProblemsReporter problemsReporter) Validates the givenmodelvoidvalidate(org.mule.runtime.api.meta.model.ExtensionModel model, ProblemsReporter problemsReporter) Validates the givenmodel
-
Constructor Details
-
NameClashModelValidator
public NameClashModelValidator()
-
-
Method Details
-
validate
public void validate(org.mule.runtime.api.meta.model.ExtensionModel model, ProblemsReporter problemsReporter) Description copied from interface:ExtensionModelValidatorValidates the givenmodel- Specified by:
validatein interfaceExtensionModelValidator- Parameters:
model- aExtensionModel
-
validate
public void validate(org.mule.runtime.api.meta.model.ExtensionModel model, DslSyntaxResolver syntaxResolver, ProblemsReporter problemsReporter) Description copied from interface:ExtensionModelValidatorValidates the givenmodel- Specified by:
validatein interfaceExtensionModelValidator- Parameters:
model- aExtensionModelsyntaxResolver- the dsl syntax for theextensionModel
-