public final class ExecutionTypeDeclarationEnricher extends Object implements WalkingDeclarationEnricher
ExecutionType on all operations which didn't explicitly set one. This is done by doing a best guess with the
following rules:
ExecutionType.BLOCKINGExecutionType.CPU_LITEExecutionType.CPU_LITEExecutionType.CPU_INTENSIVE, the user needs
to hint that manually.WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate| Constructor and Description |
|---|
ExecutionTypeDeclarationEnricher() |
| 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 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 © 2022 MuleSoft, Inc.. All rights reserved.