public class KubernetesEnvironmentPropertySource extends MapPropertySource
PropertySource.PropertyConvention
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of this property source.
|
CONTEXT
HIGHEST_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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()