Class ConfigServerPropertySource

java.lang.Object
io.micronaut.discovery.spring.config.client.ConfigServerPropertySource

public class ConfigServerPropertySource extends Object
Represents a PropertySource returned from Spring Cloud Config server.
Since:
1.1.0
Author:
Thiago Locatelli
  • Constructor Details

    • ConfigServerPropertySource

      @Internal protected ConfigServerPropertySource(String name, Map<String,Object> source)
      Default constructor.
      Parameters:
      name - The name of the property source in the config server
      source - The map containing the configuration entries
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Returns the name of the property source.
      Returns:
      the name of the property source
    • getSource

      @NonNull public @NonNull Map<String,Object> getSource()
      Returns the map containing the configuration entries.
      Returns:
      the map containing the configuration entries
    • toString

      public String toString()
      Overrides:
      toString in class Object