类 AbstractPropertySource

java.lang.Object
com.alibaba.nacos.client.env.AbstractPropertySource
直接已知子类:
JvmArgsPropertySource, PropertiesPropertySource, SystemEnvPropertySource

abstract class AbstractPropertySource extends Object
  • 构造器详细资料

    • AbstractPropertySource

      AbstractPropertySource()
  • 方法详细资料

    • getType

      abstract SourceType getType()
      get property's type.
      返回:
      name
    • getProperty

      abstract String getProperty(String key)
      get property, if the value can not be got by the special key, the null will be returned.
      参数:
      key - special key
      返回:
      value or null
    • containsKey

      abstract boolean containsKey(String key)
      Tests if the specified object is a key in this propertySource.
      参数:
      key - key – possible key
      返回:
      true if and only if the specified object is a key in this propertySource, false otherwise.
    • asProperties

      abstract Properties asProperties()
      to properties.
      返回:
      properties