Enum Class DeclarationEnricherPhase
java.lang.Object
java.lang.Enum<DeclarationEnricherPhase>
org.mule.runtime.extension.api.loader.DeclarationEnricherPhase
- All Implemented Interfaces:
Serializable,Comparable<DeclarationEnricherPhase>,Constable
These
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.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFinal phase ofDeclarationEnrichers to be executed,enrichersthat for some reason should execute at the end of the chain should go in this phase.First phase ofDeclarationEnrichers to be executed.This phase contains allDeclarationEnrichers that add display elements to the final enriched extension.This phase contains allDeclarationEnrichers that go over the final extension structure and add metadata andpropertiesto the declared elements.This phase contains allDeclarationEnrichers that enrich the extension with additional elements, for example adding common parameters.This phase contains allDeclarationEnrichers that ensure consistency among elements, required by enrichers in the phase, linking objects created by theSTRUCTUREphase together. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeclarationEnricherPhaseReturns the enum constant of this class with the specified name.static DeclarationEnricherPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIALIZE
First phase ofDeclarationEnrichers 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) -
STRUCTURE
This phase contains allDeclarationEnrichers that enrich the extension with additional elements, for example adding common parameters. -
WIRING
This phase contains allDeclarationEnrichers that ensure consistency among elements, required by enrichers in the phase, linking objects created by theSTRUCTUREphase together. -
POST_STRUCTURE
This phase contains allDeclarationEnrichers that go over the final extension structure and add metadata andpropertiesto the declared elements. -
LAYOUT
This phase contains allDeclarationEnrichers that add display elements to the final enriched extension. -
FINALIZE
Final phase ofDeclarationEnrichers to be executed,enrichersthat for some reason should execute at the end of the chain should go in this phase.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-