public class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>>
EnumerablePropertySource to adapt annotations marked with
@PropertyMapping.PropertySource.StubPropertySourcelogger, 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, toStringpublic 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 int hashCode()
hashCode in class PropertySource<Class<?>>public boolean equals(Object obj)
equals in class PropertySource<Class<?>>Copyright © 2017 Pivotal Software, Inc.. All rights reserved.