Package io.smallrye.config
Class EnvConfigSource
- java.lang.Object
-
- io.smallrye.config.common.AbstractConfigSource
-
- io.smallrye.config.common.MapBackedConfigSource
-
- io.smallrye.config.EnvConfigSource
-
- All Implemented Interfaces:
Serializable,org.eclipse.microprofile.config.spi.ConfigSource
public class EnvConfigSource extends MapBackedConfigSource
- Author:
- Jeff Mesnil (c) 2017 Red Hat inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEnvConfigSource()protectedEnvConfigSource(int ordinal)EnvConfigSource(Map<String,String> propertyMap, int ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue(String propertyName)-
Methods inherited from class io.smallrye.config.common.MapBackedConfigSource
getProperties, getPropertyNames
-
Methods inherited from class io.smallrye.config.common.AbstractConfigSource
getName, getOrdinal, toString
-
-
-
-
Method Detail
-
getValue
public String getValue(String propertyName)
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Overrides:
getValuein classMapBackedConfigSource
-
-