Class ConfigServerResponse

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

public class ConfigServerResponse extends Object
Spring Config Server Response.
Since:
1.0
Author:
Thiago Locatelli
  • Constructor Details

    • ConfigServerResponse

      public ConfigServerResponse()
  • Method Details

    • add

      public void add(ConfigServerPropertySource propertySource)
      Parameters:
      propertySource - The property source to be added
    • addAll

      public void addAll(List<ConfigServerPropertySource> propertySources)
      Parameters:
      propertySources - The list of property sources to be added
    • addFirst

      public void addFirst(ConfigServerPropertySource propertySource)
      Parameters:
      propertySource - The property source to be added first
    • getPropertySources

      public List<ConfigServerPropertySource> getPropertySources()
      Returns:
      The list of property sources
    • getName

      public String getName()
      Returns:
      The name of the property source
    • setName

      public void setName(String name)
      Parameters:
      name - The name of the property source to be set
    • getLabel

      public String getLabel()
      Returns:
      The label of the property source
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - The label of the property source to be set
    • getProfiles

      public String[] getProfiles()
      Returns:
      The list of profiles
    • setProfiles

      public void setProfiles(String[] profiles)
      Parameters:
      profiles - The list of profiles to be set
    • getVersion

      public String getVersion()
      Returns:
      The version
    • setVersion

      public void setVersion(String version)
      Parameters:
      version - The version to be set
    • getState

      public String getState()
      Returns:
      The state
    • setState

      public void setState(String state)
      Parameters:
      state - The state to be set
    • toString

      public String toString()
      Overrides:
      toString in class Object