Interface ConfigTrackingConfig
@ConfigMapping(prefix="quarkus.config-tracking")
@ConfigRoot(phase=BUILD_TIME)
public interface ConfigTrackingConfig
Configuration options for application build time configuration usage tracking
and dumping.
-
Method Summary
Modifier and TypeMethodDescriptionDirectory in which the configuration dump should be stored.boolean
enabled()
Whether configuration dumping is enabledexclude()
A list of config properties that should be excluded from the report.file()
File in which the configuration dump should be stored.File name prefix.File name suffix.Translates the value ofhashOptions()
to a list ofPattern
.A list of config properties whose values should be hashed in the report.toPatterns
(Optional<List<String>> globs) boolean
Whether to use a~
as an alias for user home directory in path values
-
Method Details
-
enabled
@WithDefault("false") boolean enabled()Whether configuration dumping is enabled -
directory
Directory in which the configuration dump should be stored. If not configured the.quarkus
directory under the project directory will be used. -
file
File in which the configuration dump should be stored. If not configured, thefilePrefix()
andfileSuffix()
will be used to generate the final file name. If the configured file path is absolute, thedirectory()
option will be ignored. Otherwise, the path will be considered relative to thedirectory()
. -
filePrefix
File name prefix. This option will be ignored in casefile()
is configured. -
fileSuffix
File name suffix. This option will be ignored in casefile()
is configured. -
exclude
A list of config properties that should be excluded from the report. GLOB patterns could be used instead of property names. -
getExcludePatterns
- Returns:
- list of patterns created from
exclude()
-
hashOptions
A list of config properties whose values should be hashed in the report. The values will be hashed using SHA-512 algorithm. GLOB patterns could be used instead of property names. -
getHashOptionsPatterns
Translates the value ofhashOptions()
to a list ofPattern
.- Returns:
- list of patterns created from
hashOptions()
-
toPatterns
-
useUserHomeAliasInPaths
@WithDefault("true") boolean useUserHomeAliasInPaths()Whether to use a~
as an alias for user home directory in path values
-