Package org.springframework.boot.env
Class SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
- java.lang.Object
- org.springframework.core.env.PropertySource<T>
- org.springframework.core.env.EnumerablePropertySource<Map<String,Object>>
- org.springframework.core.env.MapPropertySource
- org.springframework.core.env.SystemEnvironmentPropertySource
- org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
- All Implemented Interfaces:
OriginLookup<String>
- Enclosing class:
- SystemEnvironmentPropertySourceEnvironmentPostProcessor
protected static class SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource extends org.springframework.core.env.SystemEnvironmentPropertySource implements OriginLookup<String>
SystemEnvironmentPropertySource
that also tracksOrigin
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Origin
getOrigin(String key)
Return the origin of the given key ornull
if the origin cannot be determined.Methods inherited from class org.springframework.core.env.SystemEnvironmentPropertySource
containsProperty, getProperty, isSecurityManagerPresent, resolvePropertyName
Method Detail
getOrigin
public Origin getOrigin(String key)
Description copied from interface:OriginLookup
Return the origin of the given key ornull
if the origin cannot be determined.- Specified by:
getOrigin
in interfaceOriginLookup<String>
- Parameters:
key
- the key to lookup- Returns:
- the origin of the key or
null