Package org.springframework.boot.env
Class SystemEnvironmentPropertySourceEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor
- All Implemented Interfaces:
- EnvironmentPostProcessor,- Ordered
public class SystemEnvironmentPropertySourceEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, Ordered
An 
EnvironmentPostProcessor that replaces the systemEnvironment
 SystemEnvironmentPropertySource with an
 SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource that can track the
 SystemEnvironmentOrigin for every system environment property.- Since:
- 2.0.0
- Author:
- Madhura Bhave
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classSystemEnvironmentPropertySourcethat also tracksOrigin.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe default order for the processor.Fields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetOrder()voidpostProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment.voidsetOrder(int order) 
- 
Field Details- 
DEFAULT_ORDERpublic static final int DEFAULT_ORDERThe default order for the processor.- See Also:
 
 
- 
- 
Constructor Details- 
SystemEnvironmentPropertySourceEnvironmentPostProcessorpublic SystemEnvironmentPropertySourceEnvironmentPostProcessor()
 
- 
- 
Method Details- 
postProcessEnvironmentpublic void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) Description copied from interface:EnvironmentPostProcessorPost-process the givenenvironment.- Specified by:
- postProcessEnvironmentin interface- EnvironmentPostProcessor
- Parameters:
- environment- the environment to post-process
- application- the application to which the environment belongs
 
- 
getOrderpublic int getOrder()
- 
setOrderpublic void setOrder(int order) 
 
-