public final class OriginTrackedMapPropertySource extends org.springframework.core.env.MapPropertySource implements OriginLookup<String>
OriginTrackedValue
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 org.springframework.core.env.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 © 2019 Pivotal Software, Inc.. All rights reserved.