Package org.springframework.boot.env
Class RandomValuePropertySourceEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.env.RandomValuePropertySourceEnvironmentPostProcessor
- All Implemented Interfaces:
- EnvironmentPostProcessor,- org.springframework.core.Ordered
public class RandomValuePropertySourceEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, org.springframework.core.Ordered
EnvironmentPostProcessor to add the RandomValuePropertySource.- Since:
- 2.4.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe default order of this post-processor.Fields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetOrder()voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment.
- 
Field Details- 
ORDERpublic static final int ORDERThe default order of this post-processor.- See Also:
 
 
- 
- 
Constructor Details- 
RandomValuePropertySourceEnvironmentPostProcessorCreate a newRandomValuePropertySourceEnvironmentPostProcessorinstance.- Parameters:
- logFactory- the log factory to use
- Since:
- 3.0.0
 
 
- 
- 
Method Details- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- org.springframework.core.Ordered
 
- 
postProcessEnvironmentpublic void postProcessEnvironment(org.springframework.core.env.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
 
 
-