org.springframework.boot.context.config

Class ConfigData

  • java.lang.Object
    • org.springframework.boot.context.config.ConfigData
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  ConfigData.Option
      Option flags that can be applied config data.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ConfigData(java.util.Collection<? extends org.springframework.core.env.PropertySource<?>> propertySources, ConfigData.Option... options)
      Create a new ConfigData instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Set<ConfigData.Option> getOptions()
      Return a set of config data options for this source.
      java.util.List<org.springframework.core.env.PropertySource<?>> getPropertySources()
      Return the configuration data property sources in ascending priority order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigData

        public ConfigData(java.util.Collection<? extends org.springframework.core.env.PropertySource<?>> propertySources,
                          ConfigData.Option... options)
        Create a new ConfigData instance.
        Parameters:
        propertySources - the config data property sources in ascending priority order.
        options - the config data options
    • Method Detail

      • getPropertySources

        public java.util.List<org.springframework.core.env.PropertySource<?>> getPropertySources()
        Return the configuration data property sources in ascending priority order. If the same key is contained in more than one of the sources, then the later source will win.
        Returns:
        the config data property sources