类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getOrder()
void
postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment
.
-
字段详细资料
-
ORDER
public static final int ORDERThe default order of this post-processor.- 另请参阅:
-
-
构造器详细资料
-
RandomValuePropertySourceEnvironmentPostProcessor
Create a newRandomValuePropertySourceEnvironmentPostProcessor
instance.- 参数:
logFactory
- the log factory to use- 从以下版本开始:
- 3.0.0
-
-
方法详细资料
-
getOrder
public int getOrder() -
postProcessEnvironment
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) 从接口复制的说明:EnvironmentPostProcessor
Post-process the givenenvironment
.- 指定者:
postProcessEnvironment
在接口中EnvironmentPostProcessor
- 参数:
environment
- the environment to post-processapplication
- the application to which the environment belongs
-