Class YamlPropertySource

java.lang.Object
org.springframework.core.env.PropertySource<String>
de.iip_ecosphere.platform.services.spring.YamlPropertySource

public class YamlPropertySource extends org.springframework.core.env.PropertySource<String>
Specialized parameter source as fallback.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • YamlPropertySource

      public YamlPropertySource()
      Constructs a property source.
    • YamlPropertySource

      public YamlPropertySource(Map<String,Object> overwrite)
      Constructs a property source.
    • YamlPropertySource

      public YamlPropertySource(Map<String,Object> overwrite, Iterable<String> ignore)
      Constructs a property source.
      Parameters:
      overwrite - properties to overwrite as full-name/value pairs, may be null for none
      ignore - 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

      public Object getProperty(String name)
      Specified by:
      getProperty in class org.springframework.core.env.PropertySource<String>