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 DeclarationEnricher
s can
take advantage of.
Enum Constant and Description |
---|
FINALIZE
Final phase of
DeclarationEnricher s 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
DeclarationEnricher s to be executed. |
LAYOUT
This phase contains all
DeclarationEnricher s that add display elements to the final enriched extension. |
POST_STRUCTURE
This phase contains all
DeclarationEnricher s that go over the final extension structure and add metadata and
properties to the declared elements. |
STRUCTURE
This phase contains all
DeclarationEnricher s that enrich the extension with additional elements, for example adding
common parameters. |
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
DeclarationEnricher
s 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.
DeclarationEnricher
s 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
DeclarationEnricher
s that enrich the extension with additional elements, for example adding
common parameters.public static final DeclarationEnricherPhase POST_STRUCTURE
DeclarationEnricher
s that go over the final extension structure and add metadata and
properties
to the declared elements.public static final DeclarationEnricherPhase LAYOUT
DeclarationEnricher
s that add display elements to the final enriched extension.public static final DeclarationEnricherPhase FINALIZE
DeclarationEnricher
s 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 © 2018. All rights reserved.