public class SystemEnvironmentPropertySourceEnvironmentPostProcessor extends Object implements EnvironmentPostProcessor, Ordered
EnvironmentPostProcessor that replaces the systemEnvironment
SystemEnvironmentPropertySource with an
OriginTrackedSystemPropertySource that can track the
SystemEnvironmentOrigin for every system environment property.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDER
The default order for the processor.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
SystemEnvironmentPropertySourceEnvironmentPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment. |
void |
setOrder(int order) |
public static final int DEFAULT_ORDER
public SystemEnvironmentPropertySourceEnvironmentPostProcessor()
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessorenvironment.postProcessEnvironment in interface EnvironmentPostProcessorenvironment - the environment to post-processapplication - the application to which the environment belongspublic void setOrder(int order)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.