public class BooleanParameterDeclarationEnricher extends Object implements DeclarationEnricher
DeclarationEnricher implementation that walks through all the BooleanType parameters and sets them as optional.
It also enriches those parameters with a default value of "false" if they don't have one.
Parameters acting as a config override or with ExpressionSupport.REQUIRED expression support
are skipped.
| Constructor and Description |
|---|
BooleanParameterDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(ExtensionLoadingContext extensionLoadingContext)
Enriches the descriptor provided in the given
extensionLoadingContext. |
DeclarationEnricherPhase |
getExecutionPhase()
Specifies a
phase for the DeclarationEnricher to be executed. |
public DeclarationEnricherPhase getExecutionPhase()
DeclarationEnricherphase for the DeclarationEnricher to be executed.getExecutionPhase in interface DeclarationEnricherphase in which the DeclarationEnricher is going to be executedpublic void enrich(ExtensionLoadingContext extensionLoadingContext)
DeclarationEnricherextensionLoadingContext.enrich in interface DeclarationEnricherextensionLoadingContext - a ExtensionLoadingContextCopyright © 2022 MuleSoft, Inc.. All rights reserved.