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 voidwithBuilder(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder) protected static voidwithConverter(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.Converter<?> converter) protected static voidwithCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.SmallRyeConfigBuilderCustomizer customizer) static voidwithCustomizer(io.smallrye.config.SmallRyeConfigBuilder builder, String customizer) protected static voidwithDefaultValue(io.smallrye.config.SmallRyeConfigBuilder builder, String name, String value) 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, String mappingClass, String prefix) 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 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
-
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)
-