Package io.smallrye.config.source.yaml
Class YamlConfigSource
- java.lang.Object
-
- io.smallrye.config.common.AbstractConfigSource
-
- io.smallrye.config.common.MapBackedConfigSource
-
- io.smallrye.config.source.yaml.YamlConfigSource
-
- All Implemented Interfaces:
Serializable,org.eclipse.microprofile.config.spi.ConfigSource
public class YamlConfigSource extends MapBackedConfigSource
Yaml config source- Author:
- Phillip Kruger, David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YamlConfigSource(String name, InputStream stream)Deprecated.YamlConfigSource(String name, InputStream stream, int defaultOrdinal)Deprecated.YamlConfigSource(String name, String source)YamlConfigSource(String name, String source, int ordinal)YamlConfigSource(String name, Map<String,String> source, int ordinal)YamlConfigSource(URL url)YamlConfigSource(URL url, int ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getPropertyNames()-
Methods inherited from class io.smallrye.config.common.MapBackedConfigSource
getProperties, getValue
-
Methods inherited from class io.smallrye.config.common.AbstractConfigSource
getName, getOrdinal, toString
-
-
-
-
Constructor Detail
-
YamlConfigSource
@Deprecated public YamlConfigSource(String name, InputStream stream) throws IOException
Deprecated.- Throws:
IOException
-
YamlConfigSource
public YamlConfigSource(URL url) throws IOException
- Throws:
IOException
-
YamlConfigSource
public YamlConfigSource(URL url, int ordinal) throws IOException
- Throws:
IOException
-
YamlConfigSource
@Deprecated public YamlConfigSource(String name, InputStream stream, int defaultOrdinal) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Overrides:
getPropertyNamesin classMapBackedConfigSource
-
-