public final class ConfigNameModelEnricher extends Object implements org.mule.runtime.extension.api.declaration.spi.ModelEnricher
ModelEnricher which looks for configurations with fields annotated with ConfigName.
It validates that the annotations is used properly and if so it adds a RequireNameField on the
ConfigurationDeclaration.
If the ConfigName annotation is used in a way which breaks the rules set on its javadoc, an
IllegalConfigurationModelDefinitionException is thrown
| Constructor and Description |
|---|
ConfigNameModelEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(org.mule.runtime.extension.api.declaration.DescribingContext describingContext) |
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.