public enum DeclarationEnricherPhase extends Enum<DeclarationEnricherPhase>
phases are use to execute the enrichers in order, grouping
them by phases.
Each DeclarationEnricherPhase describes a particular enrichment state from which DeclarationEnrichers can
take advantage of.
| Enum Constant and Description |
|---|
FINALIZE
Final phase of
DeclarationEnrichers to be executed, enrichers that for some reason should
execute at the end of the chain should go in this phase. |
INITIALIZE
First phase of
DeclarationEnrichers to be executed. |
LAYOUT
This phase contains all
DeclarationEnrichers that add display elements to the final enriched extension. |
POST_STRUCTURE
This phase contains all
DeclarationEnrichers that go over the final extension structure and add metadata and
properties to the declared elements. |
STRUCTURE
This phase contains all
DeclarationEnrichers that enrich the extension with additional elements, for example adding
common parameters. |
WIRING
This phase contains all
DeclarationEnrichers that ensure consistency among elements, required by enrichers in the
phase, linking objects created by the STRUCTURE phase together. |
| Modifier and Type | Method and Description |
|---|---|
static DeclarationEnricherPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeclarationEnricherPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeclarationEnricherPhase INITIALIZE
DeclarationEnrichers to be executed.
Basic settings that doesn't change the structure of the loaded extension but are required before the structure enrichment phase is executed should go in this phase.
DeclarationEnrichers added to this phase should not add or change the structure of the extension nor
change/add any configuration to the different elements that were loaded (Connections, Configs, Parameters, Etc)
public static final DeclarationEnricherPhase STRUCTURE
DeclarationEnrichers that enrich the extension with additional elements, for example adding
common parameters.public static final DeclarationEnricherPhase WIRING
DeclarationEnrichers that ensure consistency among elements, required by enrichers in the
phase, linking objects created by the STRUCTURE phase together.public static final DeclarationEnricherPhase POST_STRUCTURE
DeclarationEnrichers that go over the final extension structure and add metadata and
properties to the declared elements.public static final DeclarationEnricherPhase LAYOUT
DeclarationEnrichers that add display elements to the final enriched extension.public static final DeclarationEnricherPhase FINALIZE
DeclarationEnrichers to be executed, enrichers that for some reason should
execute at the end of the chain should go in this phase.public static DeclarationEnricherPhase[] values()
for (DeclarationEnricherPhase c : DeclarationEnricherPhase.values()) System.out.println(c);
public static DeclarationEnricherPhase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 MuleSoft, Inc.. All rights reserved.