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 interfaceConfigTrackingInterceptor.ConfigurationWriterA writer that persists collected configuration options and their values to a filestatic interfaceConfigTrackingInterceptor.ReadOptionsProviderProvides 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 voidconfigure(org.eclipse.microprofile.config.Config config)Initializes the configuration trackerConfigTrackingInterceptor.ReadOptionsProvidergetReadOptionsProvider()Read options orvipder.io.smallrye.config.ConfigValuegetValue(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:
getValuein interfaceio.smallrye.config.ConfigSourceInterceptor
-
getReadOptionsProvider
public ConfigTrackingInterceptor.ReadOptionsProvider getReadOptionsProvider()
Read options orvipder.- Returns:
- read options provider
-
-