public class KubernetesEnvironmentPropertySource extends MapPropertySource
PropertySource.PropertyConvention
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The name of this property source.
|
CONTEXT
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
KubernetesEnvironmentPropertySource()
Default constructor.
|
KubernetesEnvironmentPropertySource(java.util.List<java.lang.String> includes,
java.util.List<java.lang.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
public static final java.lang.String NAME
public KubernetesEnvironmentPropertySource()
public KubernetesEnvironmentPropertySource(@Nullable java.util.List<java.lang.String> includes, @Nullable java.util.List<java.lang.String> excludes)
includes
- The environment variables to include in configurationexcludes
- The environment variables to exclude from configurationpublic int getOrder()
public PropertySource.PropertyConvention getConvention()