public class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>>
EnumerablePropertySource
to adapt annotations marked with
@PropertyMapping
.PropertySource.StubPropertySource
logger, name, source
Constructor and Description |
---|
AnnotationsPropertySource(Class<?> source) |
AnnotationsPropertySource(String name,
Class<?> source) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperty(String name) |
boolean |
equals(Object obj) |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
int |
hashCode() |
boolean |
isEmpty() |
getName, getSource, named, toString
public AnnotationsPropertySource(Class<?> source)
public boolean containsProperty(String name)
containsProperty
in class EnumerablePropertySource<Class<?>>
public Object getProperty(String name)
getProperty
in class PropertySource<Class<?>>
public String[] getPropertyNames()
getPropertyNames
in class EnumerablePropertySource<Class<?>>
public boolean isEmpty()
public boolean equals(Object obj)
equals
in class PropertySource<Class<?>>
public int hashCode()
hashCode
in class PropertySource<Class<?>>
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.