Class ConfigServerResponse
java.lang.Object
io.micronaut.discovery.spring.config.client.ConfigServerResponse
Spring Config Server Response.
- Since:
- 1.0
- Author:
- Thiago Locatelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ConfigServerPropertySource propertySource) void
addAll
(List<ConfigServerPropertySource> propertySources) void
addFirst
(ConfigServerPropertySource propertySource) getLabel()
getName()
String[]
getState()
void
void
void
setProfiles
(String[] profiles) void
void
setVersion
(String version) toString()
-
Constructor Details
-
ConfigServerResponse
public ConfigServerResponse()
-
-
Method Details
-
add
- Parameters:
propertySource
- The property source to be added
-
addAll
- Parameters:
propertySources
- The list of property sources to be added
-
addFirst
- Parameters:
propertySource
- The property source to be added first
-
getPropertySources
- Returns:
- The list of property sources
-
getName
- Returns:
- The name of the property source
-
setName
- Parameters:
name
- The name of the property source to be set
-
getLabel
- Returns:
- The label of the property source
-
setLabel
- Parameters:
label
- The label of the property source to be set
-
getProfiles
- Returns:
- The list of profiles
-
setProfiles
- Parameters:
profiles
- The list of profiles to be set
-
getVersion
- Returns:
- The version
-
setVersion
- Parameters:
version
- The version to be set
-
getState
- Returns:
- The state
-
setState
- Parameters:
state
- The state to be set
-
toString
-