public final class DescriptionDeclarationEnricher extends Object implements org.mule.runtime.extension.api.loader.DeclarationEnricher
DeclarationEnricher that fills the descriptions for all the components in the
ExtensionDeclaration that is being declared.
When the source code is available uses the APT to access the AST tree and extract the extensions javadocs which are used to enrich the extension's descriptions.
For this to be possible, the context should have as custom parameters aProcessingEnvironment and the corresponding
TypeElement, which will be fetched in the provided context under the keys
BaseExtensionResourcesGeneratorAnnotationProcessor.PROCESSING_ENVIRONMENT and
BaseExtensionResourcesGeneratorAnnotationProcessor.EXTENSION_ELEMENT.| Constructor and Description |
|---|
DescriptionDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.