public class KubernetesEnvironmentPropertySource extends MapPropertySource
PropertySource.PropertyConvention| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The name of this property source.
|
CONTEXTHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
KubernetesEnvironmentPropertySource()
Default constructor.
|
KubernetesEnvironmentPropertySource(List<String> includes,
List<String> excludes)
Allows for control over which environment variables are included.
|
| Modifier and Type | Method and Description |
|---|---|
PropertySource.PropertyConvention |
getConvention() |
int |
getOrder() |
asMap, get, getName, iterator, of, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String NAME
public KubernetesEnvironmentPropertySource()
public KubernetesEnvironmentPropertySource(@Nullable List<String> includes, @Nullable List<String> excludes)
includes - The environment variables to include in configurationexcludes - The environment variables to exclude from configurationpublic int getOrder()
public PropertySource.PropertyConvention getConvention()