- java.lang.Object
-
- io.helidon.config.mp.MpConfigBuilder
-
- All Implemented Interfaces:
ConfigBuilder
@Deprecated(since="2.3.1") public class MpConfigBuilder extends Object implements ConfigBuilder
Deprecated.This is an internal class that was exposed accidentally. It will be package local in next major release.Configuration builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConfigBuilder
addDefaultSources()
Deprecated.ConfigBuilder
addDiscoveredConverters()
Deprecated.ConfigBuilder
addDiscoveredSources()
Deprecated.Config
build()
Deprecated.ConfigBuilder
forClassLoader(ClassLoader loader)
Deprecated.MpConfigBuilder
profile(String profile)
Deprecated.Configure an explicit profile name.<T> ConfigBuilder
withConverter(Class<T> aClass, int ordinal, Converter<T> converter)
Deprecated.ConfigBuilder
withConverters(Converter<?>... converters)
Deprecated.ConfigBuilder
withSources(ConfigSource... sources)
Deprecated.
-
-
-
Method Detail
-
addDefaultSources
public ConfigBuilder addDefaultSources()
Deprecated.- Specified by:
addDefaultSources
in interfaceConfigBuilder
-
addDiscoveredSources
public ConfigBuilder addDiscoveredSources()
Deprecated.- Specified by:
addDiscoveredSources
in interfaceConfigBuilder
-
addDiscoveredConverters
public ConfigBuilder addDiscoveredConverters()
Deprecated.- Specified by:
addDiscoveredConverters
in interfaceConfigBuilder
-
forClassLoader
public ConfigBuilder forClassLoader(ClassLoader loader)
Deprecated.- Specified by:
forClassLoader
in interfaceConfigBuilder
-
withSources
public ConfigBuilder withSources(ConfigSource... sources)
Deprecated.- Specified by:
withSources
in interfaceConfigBuilder
-
withConverter
public <T> ConfigBuilder withConverter(Class<T> aClass, int ordinal, Converter<T> converter)
Deprecated.- Specified by:
withConverter
in interfaceConfigBuilder
-
withConverters
public ConfigBuilder withConverters(Converter<?>... converters)
Deprecated.- Specified by:
withConverters
in interfaceConfigBuilder
-
build
public Config build()
Deprecated.- Specified by:
build
in interfaceConfigBuilder
-
profile
public MpConfigBuilder profile(String profile)
Deprecated.Configure an explicit profile name. Profile is used to load configuration (when default sources are enabled) frommicroprofile-config-${profile}.properties
and to use properties named%${profile}.propertyName
before the actual property name.- Parameters:
profile
- name of the profile, such asdev, test
- Returns:
- updated builder instance
-
-