Package org.springframework.boot.origin
Interface OriginProvider
- All Known Implementing Classes:
BindException
,ConfigDataLocation
,ConfigDataLocationNotFoundException
,ConfigDataNotFoundException
,ConfigDataResourceNotFoundException
,ConfigurationProperty
,OriginTrackedResource
,OriginTrackedResource.OriginTrackedWritableResource
,OriginTrackedValue
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to provide access to the origin of an item.
- Since:
- 2.0.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
-
Method Details
-
getOrigin
Origin getOrigin()Return the source origin ornull
if the origin is not known.- Returns:
- the origin or
null
-