public final class OriginTrackedMapPropertySource extends MapPropertySource implements OriginLookup<String>
OriginTrackedValue
PropertySource.StubPropertySource
logger, name, source
Constructor and Description |
---|
OriginTrackedMapPropertySource(String name,
Map source) |
Modifier and Type | Method and Description |
---|---|
Origin |
getOrigin(String name)
Return the origin of the given key or
null if the origin cannot be
determined. |
Object |
getProperty(String name) |
containsProperty, getPropertyNames
equals, getName, getSource, hashCode, named, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOrigin
public Object getProperty(String name)
getProperty
in class MapPropertySource
public Origin getOrigin(String name)
OriginLookup
null
if the origin cannot be
determined.getOrigin
in interface OriginLookup<String>
name
- the key to lookupnull
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.