类 SystemProfileValueSource

java.lang.Object
cn.taketoday.test.annotation.SystemProfileValueSource
所有已实现的接口:
ProfileValueSource

public final class SystemProfileValueSource extends Object implements ProfileValueSource
Implementation of ProfileValueSource which uses system properties as the underlying source.
从以下版本开始:
4.0
作者:
Rod Johnson, Sam Brannen
  • 字段详细资料

  • 构造器详细资料

    • SystemProfileValueSource

      private SystemProfileValueSource()
      Private constructor, enforcing the singleton pattern.
  • 方法详细资料

    • getInstance

      public static final SystemProfileValueSource getInstance()
      Obtain the canonical instance of this ProfileValueSource.
    • get

      public String get(String key)
      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 null if there is no profile value with that key
      另请参阅: