Package io.quarkus.runtime.annotations
Annotation Interface ConfigRoot
Indicate that the given item is a configuration root. Instances of classes with this annotation will
be made available to build steps or run time recorders, according to the phase of the
value.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Determine the phase of this configuration root.Deprecated, for removal: This API element is subject to removal in a future version.Use interface-based@ConfigMappinginstead.
-
Element Details
-
prefix
Deprecated, for removal: This API element is subject to removal in a future version.Use interface-based@ConfigMappinginstead. When moving to@ConfigMapping, the prefix has to be included in the@ConfigMapping#prefixtogether with the name.Determine the prefix key of the configuration root.- Returns:
- the prefix key name
- Default:
- "quarkus"
-
phase
ConfigPhase phaseDetermine the phase of this configuration root.- Returns:
- the phase
- Default:
- BUILD_TIME
-
name
Deprecated, for removal: This API element is subject to removal in a future version.Use interface-based@ConfigMappinginstead. Be careful,@ConfigRoot(name = "extension")may be migrated to@ConfigMapping(prefix = "quarkus.extension"). If no name was defined, make sure to define a prefix in@ConfigMappingas it's mandatory.Determine the base key of the configuration root.- Returns:
- the base key name
- Default:
- "<<hyphenated element name>>"
-
@ConfigMappinginstead.