public class ConsulPropertySources extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsulPropertySources.Context |
| Modifier and Type | Field and Description |
|---|---|
protected static List<String> |
DIR_SUFFIXES |
protected static List<String> |
FILES_SUFFIXES |
| Constructor and Description |
|---|
ConsulPropertySources(ConsulConfigProperties properties,
org.apache.commons.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
ConsulPropertySource |
createPropertySource(String propertySourceContext,
boolean optional,
com.ecwid.consul.v1.ConsulClient consul,
BiConsumer<String,Long> indexConsumer)
Deprecated.
|
ConsulPropertySource |
createPropertySource(String propertySourceContext,
com.ecwid.consul.v1.ConsulClient consul,
BiConsumer<String,Long> indexConsumer) |
List<ConsulPropertySources.Context> |
generateAutomaticContexts(List<String> profiles,
boolean reverse) |
List<String> |
getAutomaticContexts(List<String> profiles) |
List<String> |
getAutomaticContexts(List<String> profiles,
boolean reverse) |
protected String |
getContext(String prefix,
String context) |
protected List<String> |
getSuffixes() |
public ConsulPropertySources(ConsulConfigProperties properties, org.apache.commons.logging.Log log)
public List<String> getAutomaticContexts(List<String> profiles, boolean reverse)
public List<ConsulPropertySources.Context> generateAutomaticContexts(List<String> profiles, boolean reverse)
@Deprecated public ConsulPropertySource createPropertySource(String propertySourceContext, boolean optional, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String,Long> indexConsumer)
public ConsulPropertySource createPropertySource(String propertySourceContext, com.ecwid.consul.v1.ConsulClient consul, BiConsumer<String,Long> indexConsumer)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.