| Package | Description |
|---|---|
| org.mule.runtime.extension.api.loader | |
| org.mule.runtime.extension.internal.loader | |
| org.mule.runtime.extension.internal.loader.enricher |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
ExtensionLoadingContext.addCustomDeclarationEnricher(DeclarationEnricher enricher)
Registers a custom
DeclarationEnricher which is executed before the ones that the runtime automatically
applies. |
ExtensionLoadingContext |
ExtensionLoadingContext.addCustomDeclarationEnrichers(Collection<DeclarationEnricher> enrichers)
Registers custom
DeclarationEnricher which are executed before the ones that the runtime automatically
applies. |
ExtensionLoadingContext |
ExtensionLoadingContext.addCustomValidator(ExtensionModelValidator extensionModelValidator)
Registers a custom
ExtensionModelValidator to be executed on top of the ones which the runtime applies by default. |
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 |
|---|---|
void |
ExtensionLoadingDelegate.accept(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclarer extensionDeclarer,
ExtensionLoadingContext context)
Uses the given arguments to declare the extension
|
protected void |
ExtensionModelLoader.configureContextBeforeDeclaration(ExtensionLoadingContext context)
Allows adding pre-configured the given
context before it's fed into
ExtensionModelLoader.declareExtension(ExtensionLoadingContext). |
protected abstract void |
ExtensionModelLoader.declareExtension(ExtensionLoadingContext context)
This method uses the
ExtensionDeclarer found through getExtensionDeclarer() to define
the ExtensionModel to be loaded. |
protected org.mule.runtime.api.meta.model.ExtensionModel |
ExtensionModelLoader.doCreate(ExtensionLoadingContext context)
Creates an
ExtensionModel from the context. |
void |
DeclarationEnricher.enrich(ExtensionLoadingContext extensionLoadingContext)
Enriches the descriptor provided in the given
extensionLoadingContext. |
default void |
WalkingDeclarationEnricher.enrich(ExtensionLoadingContext extensionLoadingContext)
Enriches the declaration in the
extensionLoadingContext by using a DeclarationWalker using the result of
WalkingDeclarationEnricher.getWalkDelegate(ExtensionLoadingContext) as a delegate. |
Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> |
WalkingDeclarationEnricher.getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
Optionally returns a
WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultExtensionLoadingContext
Default implementation of
ExtensionLoadingContext. |
| Modifier and Type | Method and Description |
|---|---|
ExtensionLoadingContext |
DefaultExtensionLoadingContext.addCustomDeclarationEnricher(DeclarationEnricher enricher)
Registers a custom
DeclarationEnricher which is executed before the ones that the runtime automatically
applies. |
ExtensionLoadingContext |
DefaultExtensionLoadingContext.addCustomDeclarationEnrichers(Collection<DeclarationEnricher> enrichers)
Registers custom
DeclarationEnricher which are executed before the ones that the runtime automatically
applies. |
ExtensionLoadingContext |
DefaultExtensionLoadingContext.addCustomValidator(ExtensionModelValidator extensionModelValidator)
Registers a custom
ExtensionModelValidator to be executed on top of the ones which the runtime applies by default. |
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 | Method and Description |
|---|---|
org.mule.runtime.api.meta.model.ExtensionModel |
ExtensionModelFactory.create(ExtensionLoadingContext extensionLoadingContext)
Transforms the given
extensionLoadingContext into a valid ExtensionModel using a specifying
describingContext |
Copyright © 2023 MuleSoft, Inc.. All rights reserved.