public class ContentParameterModelValidator extends Object implements ExtensionModelValidator
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,
ProblemsReporter problemsReporter)
Validates the given
model |
public void validate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
ProblemsReporter problemsReporter)
ExtensionModelValidatormodelvalidate in interface ExtensionModelValidatorextensionModel - a ExtensionModelCopyright © 2017 MuleSoft, Inc.. All rights reserved.