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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A writer that persists collected configuration options and their values to a filestatic interface
Provides an immutable map of options that were read during the build. -
Field Summary
Fields inherited from interface io.smallrye.config.ConfigSourceInterceptor
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.eclipse.microprofile.config.Config config) Initializes the configuration trackerRead options orvipder.io.smallrye.config.ConfigValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.smallrye.config.ConfigSourceInterceptor
iterateNames, iterateValues
-
Constructor Details
-
ConfigTrackingInterceptor
public ConfigTrackingInterceptor()
-
-
Method Details
-
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
Read options orvipder.- Returns:
- read options provider
-