类 RandomValuePropertySourceEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.env.RandomValuePropertySourceEnvironmentPostProcessor
- 所有已实现的接口:
EnvironmentPostProcessor,Ordered
public class RandomValuePropertySourceEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, Ordered
EnvironmentPostProcessor to add the RandomValuePropertySource.- 从以下版本开始:
- 2.4.0
- 作者:
- Phillip Webb
-
字段概要
字段从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intgetOrder()voidpostProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment.
-
字段详细资料
-
ORDER
public static final int ORDERThe default order of this post-processor.- 另请参阅:
-
-
构造器详细资料
-
RandomValuePropertySourceEnvironmentPostProcessor
Create a newRandomValuePropertySourceEnvironmentPostProcessorinstance.- 参数:
logFactory- the log factory to use- 从以下版本开始:
- 3.0.0
-
-
方法详细资料
-
getOrder
public int getOrder() -
postProcessEnvironment
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) 从接口复制的说明:EnvironmentPostProcessorPost-process the givenenvironment.- 指定者:
postProcessEnvironment在接口中EnvironmentPostProcessor- 参数:
environment- the environment to post-processapplication- the application to which the environment belongs
-