Class ExclusiveParameterModelValidator
java.lang.Object
org.mule.runtime.extension.internal.loader.validator.ExclusiveParameterModelValidator
- All Implemented Interfaces:
ExtensionModelValidator
public final class ExclusiveParameterModelValidator
extends Object
implements ExtensionModelValidator
This validator makes sure that all
group models which contain exclusive parameters are correctly
defined. Which means that it must contain more than one optional parameters, and those optional parameter's
MetadataType must be either an ObjectType or a SimpleType.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, 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
-
ExclusiveParameterModelValidator
public ExclusiveParameterModelValidator()
-
-
Method Details
-
validate
public void validate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, ProblemsReporter problemsReporter) Validates the givenmodel- Specified by:
validatein interfaceExtensionModelValidator- Parameters:
extensionModel- aExtensionModel
-