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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA writer that persists collected configuration options and their values to a filestatic interfaceProvides an immutable map of options that were read during the build. -
Field Summary
Fields inherited from interface io.smallrye.config.ConfigSourceInterceptor
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.eclipse.microprofile.config.Config config) Initializes the configuration trackerRead options orvipder.io.smallrye.config.ConfigValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.config.ConfigSourceInterceptor
iterateNames
-
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:
getValuein interfaceio.smallrye.config.ConfigSourceInterceptor
-
getReadOptionsProvider
Read options orvipder.- Returns:
- read options provider
-