PropertySourceOrigin

Origin from a PropertySource.

Author

Phillip Webb

Since

2.0.0

Constructors

Link copied to clipboard
constructor(propertySource: PropertySource<out Any>, propertyName: String)
Create a new PropertySourceOrigin instance.
constructor(propertySource: PropertySource<out Any>, propertyName: String, origin: Origin)
Create a new PropertySourceOrigin instance.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun from(source: Any): Origin
Find the Origin that an object originated from.
Link copied to clipboard
open fun get(propertySource: PropertySource<out Any>, name: String): Origin
Get an Origin for the given PropertySource and propertyName.
Link copied to clipboard
open fun getParent(): Origin
Return the parent origin for this instance if there is one.
Link copied to clipboard
open fun parentsFrom(source: Any): List<Origin>
Find the parents of the Origin that an object originated from.
Link copied to clipboard
open fun toString(): String