public final class RefNameDeclarationEnricher extends Object implements org.mule.runtime.extension.api.loader.DeclarationEnricher
DeclarationEnricher which looks for configurations with fields annotated with RefName.
It validates that the annotations is used properly and if so it adds a RequireNameField on the
ConfigurationDeclaration.
If the RefName annotation is used in a way which breaks the rules set on its javadoc, an
IllegalConfigurationModelDefinitionException is thrown
| Constructor and Description |
|---|
RefNameDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(org.mule.runtime.extension.api.loader.ExtensionLoadingContext extensionLoadingContext) |
org.mule.runtime.extension.api.loader.DeclarationEnricherPhase |
getExecutionPhase() |
public org.mule.runtime.extension.api.loader.DeclarationEnricherPhase getExecutionPhase()
getExecutionPhase in interface org.mule.runtime.extension.api.loader.DeclarationEnricherpublic void enrich(org.mule.runtime.extension.api.loader.ExtensionLoadingContext extensionLoadingContext)
enrich in interface org.mule.runtime.extension.api.loader.DeclarationEnricherCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.