Class ConsulPropertySources
java.lang.Object
org.springframework.cloud.consul.config.ConsulPropertySources
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionConsulPropertySources(ConsulConfigProperties properties, org.apache.commons.logging.Log log) -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertySource(String propertySourceContext, boolean optional, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String, Long> indexConsumer) Deprecated.createPropertySource(String propertySourceContext, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String, Long> indexConsumer) generateAutomaticContexts(List<String> profiles, boolean reverse) getAutomaticContexts(List<String> profiles) getAutomaticContexts(List<String> profiles, boolean reverse) protected StringgetContext(String prefix, String context)
-
Field Details
-
DIR_SUFFIXES
-
FILES_SUFFIXES
-
-
Constructor Details
-
ConsulPropertySources
-
-
Method Details
-
getAutomaticContexts
-
getAutomaticContexts
-
generateAutomaticContexts
public List<ConsulPropertySources.Context> generateAutomaticContexts(List<String> profiles, boolean reverse) -
getContext
-
getSuffixes
-
createPropertySource
@Deprecated public ConsulPropertySource createPropertySource(String propertySourceContext, boolean optional, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String, Long> indexConsumer) Deprecated. -
createPropertySource
public ConsulPropertySource createPropertySource(String propertySourceContext, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String, Long> indexConsumer)
-