Class AnnotationsPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<Class<?>>
org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
public class AnnotationsPropertySource
extends org.springframework.core.env.EnumerablePropertySource<Class<?>>
EnumerablePropertySource
to adapt annotations marked with
@PropertyMapping
.- Since:
- 1.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.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 classorg.springframework.core.env.EnumerablePropertySource<Class<?>>
-
getProperty
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<Class<?>>
-
getPropertyNames
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<Class<?>>
-
isEmpty
public boolean isEmpty() -
equals
- Overrides:
equals
in classorg.springframework.core.env.PropertySource<Class<?>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.core.env.PropertySource<Class<?>>
-