public class OriginTrackedSystemPropertySource extends SystemEnvironmentPropertySource implements OriginLookup<String>
PropertySource.StubPropertySource
logger, 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, resolvePropertyName
getPropertyNames
equals, getName, getSource, hashCode, named, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOrigin
public Object getProperty(String name)
getProperty
in class SystemEnvironmentPropertySource
public Origin getOrigin(String key)
OriginLookup
null
if the origin cannot be
determined.getOrigin
in interface OriginLookup<String>
key
- the key to lookupnull
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.