public final class ConfigUtils extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ConfigUtils.EnvConfigSource |
(package private) static class |
ConfigUtils.SysPropConfigSource |
Modifier and Type | Method and Description |
---|---|
static void |
addSourceProvider(io.smallrye.config.SmallRyeConfigBuilder builder,
org.eclipse.microprofile.config.spi.ConfigSourceProvider provider)
Add a configuration source provider to the builder.
|
static io.smallrye.config.SmallRyeConfigBuilder |
configBuilder(boolean runTime)
Get the basic configuration builder.
|
static <T> IntFunction<List<T>> |
listFactory() |
static <T> IntFunction<Set<T>> |
setFactory() |
static <T> IntFunction<SortedSet<T>> |
sortedSetFactory() |
public static <T> IntFunction<List<T>> listFactory()
public static <T> IntFunction<Set<T>> setFactory()
public static <T> IntFunction<SortedSet<T>> sortedSetFactory()
public static io.smallrye.config.SmallRyeConfigBuilder configBuilder(boolean runTime)
runTime
- true
if the configuration is run time, false
if build timepublic static void addSourceProvider(io.smallrye.config.SmallRyeConfigBuilder builder, org.eclipse.microprofile.config.spi.ConfigSourceProvider provider)
builder
- the builderprovider
- the provider to addCopyright © 2019 JBoss by Red Hat. All rights reserved.