Class YamlPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<String>
de.iip_ecosphere.platform.services.spring.YamlPropertySource
Specialized parameter source as fallback.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource -
Field Summary
FieldsFields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a property source.YamlPropertySource(Map<String, Object> overwrite) Constructs a property source.Constructs a property source. -
Method Summary
Methods inherited from class org.springframework.core.env.PropertySource
containsProperty, equals, getName, getSource, hashCode, named, toString
-
Field Details
-
properties
-
kebabPattern
-
overwrite
-
ignore
-
-
Constructor Details
-
YamlPropertySource
public YamlPropertySource()Constructs a property source. -
YamlPropertySource
Constructs a property source. -
YamlPropertySource
Constructs a property source.- Parameters:
overwrite- properties to overwrite as full-name/value pairs, may be null for noneignore- properties in full-name to ignore and to return no value at all, e.g., as defined via command line; may be null or empty for none
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<String>
-