Class ConfigTrackingInterceptor
- java.lang.Object
-
- io.quarkus.deployment.configuration.tracker.ConfigTrackingInterceptor
-
- All Implemented Interfaces:
io.smallrye.config.ConfigSourceInterceptor
,Serializable
@Priority(5000) public class ConfigTrackingInterceptor extends Object implements io.smallrye.config.ConfigSourceInterceptor
Build configuration interceptor that records all the configuration options and their values that are read during the build.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ConfigTrackingInterceptor.ConfigurationWriter
A writer that persists collected configuration options and their values to a filestatic interface
ConfigTrackingInterceptor.ReadOptionsProvider
Provides an immutable map of options that were read during the build.
-
Constructor Summary
Constructors Constructor Description ConfigTrackingInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.eclipse.microprofile.config.Config config)
Initializes the configuration trackerConfigTrackingInterceptor.ReadOptionsProvider
getReadOptionsProvider()
Read options orvipder.io.smallrye.config.ConfigValue
getValue(io.smallrye.config.ConfigSourceInterceptorContext context, String name)
-
-
-
Method Detail
-
configure
public void configure(org.eclipse.microprofile.config.Config config)
Initializes the configuration tracker- Parameters:
config
- configuration instance
-
getValue
public io.smallrye.config.ConfigValue getValue(io.smallrye.config.ConfigSourceInterceptorContext context, String name)
- Specified by:
getValue
in interfaceio.smallrye.config.ConfigSourceInterceptor
-
getReadOptionsProvider
public ConfigTrackingInterceptor.ReadOptionsProvider getReadOptionsProvider()
Read options orvipder.- Returns:
- read options provider
-
-