public final class SchemaDocumenterModelEnricher extends Object implements org.mule.runtime.extension.api.declaration.spi.ModelEnricher
ModelEnricher that's only applicable when invoked in the context of an annotations Processor.
This post processor uses the APT API 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 a ProcessingEnvironment and the corresponding
TypeElement, which will be fetched in the provided context under the keys
ExtensionResourcesGeneratorAnnotationProcessor.PROCESSING_ENVIRONMENT and
ExtensionResourcesGeneratorAnnotationProcessor.EXTENSION_ELEMENT.
If any of the above requirements is not met, then this enricher will return without side effects| Constructor and Description |
|---|
SchemaDocumenterModelEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(org.mule.runtime.extension.api.declaration.DescribingContext describingContext) |
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.