Package io.quarkus.runtime.configuration
Class AbstractConfigBuilder
java.lang.Object
io.quarkus.runtime.configuration.AbstractConfigBuilder
- All Implemented Interfaces:
io.smallrye.config.SmallRyeConfigBuilderCustomizer
public abstract class AbstractConfigBuilder
extends Object
implements io.smallrye.config.SmallRyeConfigBuilderCustomizer
Convenience helper to generate the
SmallRyeConfigBuilderCustomizer bytecode, by wrapping methods that
require varargs or collections as parameters.
Methods are used for bytecode generation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.smallrye.config.ConfigMappings.ConfigClassconfigClass(String mappingClass, String prefix) static voidensureLoaded(String mappingClass) protected static voidwithBuilder(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder) protected static <T> voidwithConverter(io.smallrye.config.SmallRyeConfigBuilder builder, String type, int priority, org.eclipse.microprofile.config.spi.Converter<T> converter) static voidwithCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SmallRyeConfigBuilderCustomizer customizer) static voidwithCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, String customizer) protected static voidwithDefaultValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String, String> values) protected static voidwithInterceptor(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptor interceptor) protected static voidwithInterceptorFactory(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptorFactory interceptorFactory) protected static voidwithMapping(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass mapping) protected static voidwithMapping(io.smallrye.config.SmallRyeConfigBuilder builder, String mappingClass, String prefix) protected static voidwithMappingIgnore(io.smallrye.config.SmallRyeConfigBuilder builder, String path) protected static voidwithMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass mapping) protected static voidwithMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass configClass, Object instance) protected static voidwithRuntimeValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String, String> values) protected static voidwithSecretKeyHandler(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandler secretKeysHandler) protected static voidwithSecretKeyHandler(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandlerFactory secretKeysHandlerFactory) protected static voidwithSharedBuilder(io.smallrye.config.SmallRyeConfigBuilder builder) protected static voidwithSource(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceFactory configSourceFactory) protected static voidwithSource(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSource configSource) protected static voidwithSource(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSourceProvider configSourceProvider) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.config.SmallRyeConfigBuilderCustomizer
configBuilder, priority
-
Constructor Details
-
AbstractConfigBuilder
public AbstractConfigBuilder()
-
-
Method Details
-
withDefaultValues
-
withRuntimeValues
-
withConverter
protected static <T> void withConverter(io.smallrye.config.SmallRyeConfigBuilder builder, String type, int priority, org.eclipse.microprofile.config.spi.Converter<T> converter) -
withInterceptor
protected static void withInterceptor(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptor interceptor) -
withInterceptorFactory
protected static void withInterceptorFactory(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptorFactory interceptorFactory) -
withSource
protected static void withSource(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSource configSource) -
withSource
protected static void withSource(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSourceProvider configSourceProvider) -
withSource
protected static void withSource(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceFactory configSourceFactory) -
withSecretKeyHandler
protected static void withSecretKeyHandler(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandler secretKeysHandler) -
withSecretKeyHandler
protected static void withSecretKeyHandler(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandlerFactory secretKeysHandlerFactory) -
withMapping
protected static void withMapping(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass mapping) -
withMapping
-
withMappingInstance
protected static void withMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass configClass, Object instance) -
withMappingInstance
protected static void withMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass mapping) -
withMappingIgnore
protected static void withMappingIgnore(io.smallrye.config.SmallRyeConfigBuilder builder, String path) -
withBuilder
protected static void withBuilder(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder) -
withCustomizer
public static void withCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SmallRyeConfigBuilderCustomizer customizer) -
withCustomizer
public static void withCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, String customizer) -
configClass
-
ensureLoaded