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 theSmallRyeConfigBuilderCustomizer
bytecode, by wrapping methods that require varargs or collections as parameters.
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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)
-
-
-
Method Detail
-
withDefaultValue
protected static void withDefaultValue(io.smallrye.config.SmallRyeConfigBuilder builder, String name, String value)
-
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
protected static void withMapping(io.smallrye.config.SmallRyeConfigBuilder builder, String mappingClass, String prefix)
-
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)
-
-