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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
withBuilder
(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder) protected static void
withConverter
(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.Converter<?> converter) protected static void
withCustomizer
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SmallRyeConfigBuilderCustomizer customizer) static void
withCustomizer
(io.smallrye.config.SmallRyeConfigBuilder builder, String customizer) protected static void
withDefaultValue
(io.smallrye.config.SmallRyeConfigBuilder builder, String name, String value) protected static void
withInterceptor
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptor interceptor) protected static void
withInterceptorFactory
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceInterceptorFactory interceptorFactory) protected static void
withMapping
(io.smallrye.config.SmallRyeConfigBuilder builder, String mappingClass, String prefix) protected static void
withSecretKeyHandler
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandler secretKeysHandler) protected static void
withSecretKeyHandler
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SecretKeysHandlerFactory secretKeysHandlerFactory) protected static void
withSource
(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigSourceFactory configSourceFactory) protected static void
withSource
(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSource configSource) protected static void
withSource
(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, wait
Methods inherited from interface io.smallrye.config.SmallRyeConfigBuilderCustomizer
configBuilder, priority
-
Constructor Details
-
AbstractConfigBuilder
public AbstractConfigBuilder()
-
-
Method Details
-
withDefaultValue
-
withConverter
protected static void withConverter(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.Converter<?> 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
-
withBuilder
protected static void withBuilder(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder) -
withCustomizer
protected 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)
-