public class ConfigServerResponse extends Object
Constructor and Description |
---|
ConfigServerResponse() |
Modifier and Type | Method and Description |
---|---|
void |
add(ConfigServerPropertySource propertySource) |
void |
addAll(List<ConfigServerPropertySource> propertySources) |
void |
addFirst(ConfigServerPropertySource propertySource) |
String |
getLabel() |
String |
getName() |
String[] |
getProfiles() |
List<ConfigServerPropertySource> |
getPropertySources() |
String |
getState() |
String |
getVersion() |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setProfiles(String[] profiles) |
void |
setState(String state) |
void |
setVersion(String version) |
String |
toString() |
public void add(ConfigServerPropertySource propertySource)
propertySource
- The property source to be addedpublic void addAll(List<ConfigServerPropertySource> propertySources)
propertySources
- The list of property sources to be addedpublic void addFirst(ConfigServerPropertySource propertySource)
propertySource
- The property source to be added firstpublic List<ConfigServerPropertySource> getPropertySources()
public String getName()
public void setName(String name)
name
- The name of the property source to be setpublic String getLabel()
public void setLabel(String label)
label
- The label of the property source to be setpublic String[] getProfiles()
public void setProfiles(String[] profiles)
profiles
- The list of profiles to be setpublic String getVersion()
public void setVersion(String version)
version
- The version to be setpublic String getState()
public void setState(String state)
state
- The state to be set