public class ContentParameterModelValidator extends Object implements ModelValidator
For configs and connection providers, tt validates that they do not have content parameters. For Operations and sources, it validates that content parameters meet the following:
ParameterRole.PRIMARY_CONTENTParameterRole.PRIMARY_CONTENT parameter is optional and defaults to Optional.PAYLOAD| Constructor and Description |
|---|
ContentParameterModelValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
Validates the given
model |
public void validate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
throws org.mule.runtime.extension.api.exception.IllegalModelDefinitionException
ModelValidatormodelvalidate in interface ModelValidatorextensionModel - a ExtensionModelorg.mule.runtime.extension.api.exception.IllegalModelDefinitionException - if the model is illegalCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.