public class OriginTrackedSystemPropertySource extends SystemEnvironmentPropertySource implements OriginLookup<String>
PropertySource.StubPropertySourcelogger, name, source| Constructor and Description |
|---|
OriginTrackedSystemPropertySource(String name,
Map<String,Object> source)
Create a new
OriginTrackedSystemPropertySource with the given name and
delegating to the given MapPropertySource. |
| Modifier and Type | Method and Description |
|---|---|
Origin |
getOrigin(String key)
Return the origin of the given key or
null if the origin cannot be
determined. |
Object |
getProperty(String name) |
containsProperty, isSecurityManagerPresent, resolvePropertyNamegetPropertyNamesequals, getName, getSource, hashCode, named, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOriginpublic Object getProperty(String name)
getProperty in class SystemEnvironmentPropertySourcepublic Origin getOrigin(String key)
OriginLookupnull if the origin cannot be
determined.getOrigin in interface OriginLookup<String>key - the key to lookupnullCopyright © 2017 Pivotal Software, Inc.. All rights reserved.