Class AnnotationsPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<Class<?>>
org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
EnumerablePropertySource
to adapt annotations marked with
@PropertyMapping
.- Since:
- 1.4.0
- Author:
- Phillip Webb, Andy Wilkinson
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source
-
Constructor Summary
ConstructorDescriptionAnnotationsPropertySource
(Class<?> source) AnnotationsPropertySource
(String name, Class<?> source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperty
(String name) boolean
getProperty
(String name) String[]
int
hashCode()
boolean
isEmpty()
Methods inherited from class org.springframework.core.env.PropertySource
getName, getSource, named, toString
-
Constructor Details
-
AnnotationsPropertySource
-
AnnotationsPropertySource
-
-
Method Details
-
containsProperty
- Overrides:
containsProperty
in classEnumerablePropertySource<Class<?>>
-
getProperty
- Specified by:
getProperty
in classPropertySource<Class<?>>
-
getPropertyNames
- Specified by:
getPropertyNames
in classEnumerablePropertySource<Class<?>>
-
isEmpty
public boolean isEmpty() -
equals
- Overrides:
equals
in classPropertySource<Class<?>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPropertySource<Class<?>>
-