public class RandomValuePropertySourceEnvironmentPostProcessor extends Object implements EnvironmentPostProcessor, Ordered
EnvironmentPostProcessor to add the RandomValuePropertySource.| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER
The default order of this post-processor.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RandomValuePropertySourceEnvironmentPostProcessor(Log logger)
Create a new
RandomValuePropertySourceEnvironmentPostProcessor instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment. |
public static final int ORDER
public RandomValuePropertySourceEnvironmentPostProcessor(Log logger)
RandomValuePropertySourceEnvironmentPostProcessor instance.logger - the logger to usepublic void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessorenvironment.postProcessEnvironment in interface EnvironmentPostProcessorenvironment - the environment to post-processapplication - the application to which the environment belongs