public final class ErrorMappingsParameterDeclarationEnricher extends Object implements WalkingDeclarationEnricher
DeclarationEnricher which adds a ExtensionConstants.ERROR_MAPPINGS_PARAMETER_NAME parameter to all operationsWalkingDeclarationEnricher.DeclarationEnricherWalkDelegate| Constructor and Description |
|---|
ErrorMappingsParameterDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
DeclarationEnricherPhase |
getExecutionPhase()
Specifies a
phase for the DeclarationEnricher to be executed. |
Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> |
getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
Optionally returns a
WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenrichpublic ErrorMappingsParameterDeclarationEnricher()
public DeclarationEnricherPhase getExecutionPhase()
DeclarationEnricherphase for the DeclarationEnricher to be executed.getExecutionPhase in interface DeclarationEnricherphase in which the DeclarationEnricher is going to be executedpublic Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
WalkingDeclarationEnricherWalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic.
If Optional.empty() is returned, it means that this enricher does not apply to the given declaration and it should be
skipped
getWalkDelegate in interface WalkingDeclarationEnricherextensionLoadingContext - a ExtensionLoadingContextCopyright © 2023 MuleSoft, Inc.. All rights reserved.