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:
  • "io.quarkus.deployment.steps.ConfigGenerationBuildStep#generateSharedConfig"
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.smallrye.config.ConfigMappings.ConfigClass
    configClass(String mappingClass, String prefix)
     
    static void
    ensureLoaded(String mappingClass)
     
    protected static void
    withBuilder(io.smallrye.config.SmallRyeConfigBuilder builder, ConfigBuilder configBuilder)
     
    protected static <T> void
    withConverter(io.smallrye.config.SmallRyeConfigBuilder builder, String type, int priority, org.eclipse.microprofile.config.spi.Converter<T> converter)
     
    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
    withDefaultValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String,String> values)
     
    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, io.smallrye.config.ConfigMappings.ConfigClass mapping)
     
    protected static void
    withMapping(io.smallrye.config.SmallRyeConfigBuilder builder, String mappingClass, String prefix)
     
    protected static void
    withMappingIgnore(io.smallrye.config.SmallRyeConfigBuilder builder, String path)
     
    protected static void
    withMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass mapping)
     
    protected static void
    withMappingInstance(io.smallrye.config.SmallRyeConfigBuilder builder, io.smallrye.config.ConfigMappings.ConfigClass configClass, Object instance)
     
    protected static void
    withRuntimeValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String,String> values)
     
    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
    withSharedBuilder(io.smallrye.config.SmallRyeConfigBuilder builder)
     
    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

    • withSharedBuilder

      protected static void withSharedBuilder(io.smallrye.config.SmallRyeConfigBuilder builder)
    • withDefaultValues

      protected static void withDefaultValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String,String> values)
    • withRuntimeValues

      protected static void withRuntimeValues(io.smallrye.config.SmallRyeConfigBuilder builder, Map<String,String> values)
    • 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

      protected static void withMapping(io.smallrye.config.SmallRyeConfigBuilder builder, String mappingClass, String prefix)
    • 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

      public static io.smallrye.config.ConfigMappings.ConfigClass configClass(String mappingClass, String prefix)
    • ensureLoaded

      public static void ensureLoaded(String mappingClass)