类 AnnotationsPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<Class<?>>
org.springframework.core.env.EnumerablePropertySource<Class<?>>
org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
EnumerablePropertySource
to adapt annotations marked with
@PropertyMapping
.- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb, Andy Wilkinson
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.core.env.PropertySource
PropertySource.StubPropertySource
-
字段概要
从类继承的字段 org.springframework.core.env.PropertySource
logger, name, source
-
构造器概要
构造器构造器说明AnnotationsPropertySource
(Class<?> source) AnnotationsPropertySource
(String name, Class<?> source) -
方法概要
修饰符和类型方法说明boolean
containsProperty
(String name) boolean
getProperty
(String name) String[]
int
hashCode()
boolean
isEmpty()
从类继承的方法 org.springframework.core.env.PropertySource
getName, getSource, named, toString
-
构造器详细资料
-
AnnotationsPropertySource
-
AnnotationsPropertySource
-
-
方法详细资料
-
containsProperty
- 覆盖:
containsProperty
在类中EnumerablePropertySource<Class<?>>
-
getProperty
- 指定者:
getProperty
在类中PropertySource<Class<?>>
-
getPropertyNames
- 指定者:
getPropertyNames
在类中EnumerablePropertySource<Class<?>>
-
isEmpty
public boolean isEmpty() -
equals
- 覆盖:
equals
在类中PropertySource<Class<?>>
-
hashCode
public int hashCode()- 覆盖:
hashCode
在类中PropertySource<Class<?>>
-