public class RuntimeVersionDeclarationEnricher extends AbstractAnnotatedFieldDeclarationEnricher
DeclarationEnricher which looks at classes with fields annotated with RuntimeVersion. It validates that the
annotations is used properly and if so it adds a RuntimeVersionModelProperty.
If the RuntimeVersion annotation is used in a way which breaks the rules set on its javadoc, an
IllegalConfigurationModelDefinitionException will be thrown.
| Constructor and Description |
|---|
RuntimeVersionDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
protected Class |
getAnnotation() |
protected Class |
getImplementingClass() |
protected org.mule.runtime.api.meta.model.ModelProperty |
getModelProperty(Field field) |
doEnrich, enrich, getExecutionPhase, validateprotected org.mule.runtime.api.meta.model.ModelProperty getModelProperty(Field field)
getModelProperty in class AbstractAnnotatedFieldDeclarationEnricherprotected Class getAnnotation()
getAnnotation in class AbstractAnnotatedFieldDeclarationEnricherprotected Class getImplementingClass()
getImplementingClass in class AbstractAnnotatedFieldDeclarationEnricherCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.