Class ParameterModelValidator
java.lang.Object
org.mule.runtime.extension.internal.loader.validator.ParameterModelValidator
- All Implemented Interfaces:
ExtensionModelValidator
Validates that all
parameters provided by the configurations,
connection providers and operations from the extension complies with:
- If the parameter is a
ArrayTypethe name should be plural - The
metadataTypemust be provided - If required, cannot provide a default value
- The
Classof the parameter must be valid too, that implies that the class shouldn't contain any field with a reserved name.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(org.mule.runtime.api.meta.model.ExtensionModel model, ProblemsReporter problemsReporter) Validates the givenmodelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mule.runtime.extension.api.loader.ExtensionModelValidator
validate
-
Constructor Details
-
ParameterModelValidator
public ParameterModelValidator()
-
-
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
-