类 SystemProfileValueSource
java.lang.Object
cn.taketoday.test.annotation.SystemProfileValueSource
- 所有已实现的接口:
ProfileValueSource
Implementation of
ProfileValueSource which uses system properties as
the underlying source.- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Sam Brannen
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get the profile value indicated by the specified key from the system properties.static final SystemProfileValueSourceObtain the canonical instance of this ProfileValueSource.
-
字段详细资料
-
INSTANCE
-
-
构造器详细资料
-
SystemProfileValueSource
private SystemProfileValueSource()Private constructor, enforcing the singleton pattern.
-
-
方法详细资料
-
getInstance
Obtain the canonical instance of this ProfileValueSource. -
get
Get the profile value indicated by the specified key from the system properties.- 指定者:
get在接口中ProfileValueSource- 参数:
key- the name of the profile value- 返回:
- the String value of the profile value, or
nullif there is no profile value with that key - 另请参阅:
-