| Package | Description |
|---|---|
| org.mule.runtime.extension.api.loader | |
| org.mule.runtime.extension.internal.loader | |
| org.mule.runtime.extension.internal.loader.validator |
| Modifier and Type | Method and Description |
|---|---|
List<ExtensionModelValidator> |
ExtensionLoadingContext.getCustomValidators() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
ExtensionLoadingContext.addCustomValidator(ExtensionModelValidator extensionModelValidator)
Registers a custom
ExtensionModelValidator to be executed on top of the ones which
the runtime applies by default. |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
ExtensionLoadingContext.addCustomValidators(Collection<ExtensionModelValidator> extensionModelValidators)
Registers custom
ExtensionModelValidator to be executed on top of the ones which
the runtime applies by default. |
| Modifier and Type | Method and Description |
|---|---|
List<ExtensionModelValidator> |
DefaultExtensionLoadingContext.getCustomValidators() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
DefaultExtensionLoadingContext.addCustomValidator(ExtensionModelValidator extensionModelValidator)
Registers a custom
ExtensionModelValidator to be executed on top of the ones which
the runtime applies by default. |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
DefaultExtensionLoadingContext.addCustomValidators(Collection<ExtensionModelValidator> extensionModelValidators)
Registers custom
ExtensionModelValidator to be executed on top of the ones which
the runtime applies by default. |
| Modifier and Type | Class and Description |
|---|---|
class |
BackPressureModelValidator
Validates that the backPressureStrategy parameter is correctly formed on the sources that apply
|
class |
ConnectionProviderNameModelValidator
Validates that there's no name clashing among the extension's connection providers
|
class |
ContentParameterModelValidator
Validates that all content parameters are property configured.
|
class |
ExclusiveParameterModelValidator
This validator makes sure that all
group models which contain exclusive
parameters are correctly defined. |
class |
FunctionModelValidator
Validates rules specific to
FunctionModel. |
class |
NameClashModelValidator
Validates names clashes in the model by comparing:
The
NamedObject.getName() value of all the ConfigurationModel, OperationModel and
ConnectionProviderModel
Makes sure that there no two ParameterModels with the same name but different types, for those which represent an
object
Makes sure that no ConfigurationModel, OperationModel or ConnectionProviderModel have parameters
with repeated name
|
class |
NameModelValidator
ExtensionModelValidator which validates that the given names are valid. |
class |
OperationModelValidator
Validates
parameters with rules specific to OperationModel. |
class |
ParameterModelValidator
Validates that all
parameters provided by the configurations,
connection providers and operations from the extension complies with:
If the parameter is a ArrayType the name should be plural
The metadataType must be provided
If required, cannot provide a default value
The Class of the parameter must be valid too, that implies that the class shouldn't contain any field with a
reserved name. |
class |
SubtypesModelValidator
ExtensionModelValidator which applies to ExtensionModels. |
class |
TransactionalParametersValidator
ExtensionModelValidator implementation in charge of validate the set of "Transactional Parameters" for
OperationModel and SourceModel |
class |
ValidatorModelValidator
Makes sure that operations with the
VALIDATOR stereotype comply with its restrictions, as defined in
Validator |
Copyright © 2020 MuleSoft, Inc.. All rights reserved.