public final class ExclusiveParameterModelValidator extends Object implements ModelValidator
ParameterizedModels which contains any ParameterGroupDescriptor using exclusion
complies the following conditions:
The ParameterGroupDescriptor doesn't have any nested ParameterGroupDescriptor that contains exclusive optionals.
It must contain more than one optional parameter on its inside, and those optional parameter's MetadataType must be
either an ObjectType or a SimpleType.
| Constructor and Description |
|---|
ExclusiveParameterModelValidator() |
| 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
modelvalidate in interface ModelValidatorextensionModel - a ExtensionModelorg.mule.runtime.extension.api.exception.IllegalModelDefinitionException - if the model is illegalCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.