public class EnvironmentPropertySource extends MapPropertySource
System.getenv().PropertySource.PropertyConvention| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
NAME
Constant for Environment property source. 
 | 
static int | 
POSITION
The position of the loader. 
 | 
CONTEXTHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
EnvironmentPropertySource()
Default constructor. 
 | 
EnvironmentPropertySource(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, toStringpublic static final int POSITION
public static final java.lang.String NAME
public EnvironmentPropertySource()
public EnvironmentPropertySource(@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()