Package io.quarkus.runtime.configuration
Class ConfigUtils.BuildTimeEnvConfigSource
- java.lang.Object
-
- io.smallrye.config.common.AbstractConfigSource
-
- io.smallrye.config.common.MapBackedConfigSource
-
- io.smallrye.config.EnvConfigSource
-
- io.quarkus.runtime.configuration.ConfigUtils.BuildTimeEnvConfigSource
-
- All Implemented Interfaces:
Serializable
,org.eclipse.microprofile.config.spi.ConfigSource
- Enclosing class:
- ConfigUtils
static class ConfigUtils.BuildTimeEnvConfigSource extends io.smallrye.config.EnvConfigSource
We override the EnvConfigSource, because we don't want the nothing back from getPropertiesNames at build time. The mapping is one way and there is no way to map them back.
-
-
Constructor Summary
Constructors Constructor Description BuildTimeEnvConfigSource()
BuildTimeEnvConfigSource(Map<String,String> propertyMap, int ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Set<String>
getPropertyNames()
-
-
-
Method Detail
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
- Overrides:
getPropertyNames
in classio.smallrye.config.common.MapBackedConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
- Overrides:
getName
in classio.smallrye.config.common.AbstractConfigSource
-
-