Package | Description |
---|---|
org.springframework.boot.context.config |
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
|
org.springframework.boot.context.properties.bind |
Support for
@ConfigurationProperties binding. |
org.springframework.boot.context.properties.source |
Sources for external configuration properties.
|
org.springframework.boot.env |
Spring
Environment support. |
org.springframework.boot.origin |
Support for item origin tracking.
|
Modifier and Type | Method and Description |
---|---|
Origin |
InactiveConfigDataAccessException.getOrigin()
Return the origin or the property or
null . |
Origin |
ConfigDataLocation.getOrigin() |
Origin |
ConfigDataResourceNotFoundException.getOrigin() |
Origin |
ConfigDataLocationNotFoundException.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Origin |
BindException.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Origin |
ConfigurationProperty.getOrigin() |
Constructor and Description |
---|
ConfigurationProperty(ConfigurationPropertyName name,
Object value,
Origin origin) |
Modifier and Type | Method and Description |
---|---|
Origin |
OriginTrackedMapPropertySource.getOrigin(String name) |
Origin |
SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource.getOrigin(String key) |
Origin |
ConfigTreePropertySource.getOrigin(String name) |
Modifier and Type | Class and Description |
---|---|
class |
PropertySourceOrigin
Origin from a PropertySource . |
class |
SystemEnvironmentOrigin
Origin for an item loaded from the system environment. |
class |
TextResourceOrigin
Origin for an item loaded from a text resource. |
Modifier and Type | Method and Description |
---|---|
static Origin |
Origin.from(Object source)
Find the
Origin that an object originated from. |
static Origin |
PropertySourceOrigin.get(PropertySource<?> propertySource,
String name)
|
Origin |
OriginTrackedValue.getOrigin() |
Origin |
OriginTrackedResource.getOrigin() |
Origin |
OriginProvider.getOrigin()
Return the source origin or
null if the origin is not known. |
Origin |
OriginLookup.getOrigin(K key)
Return the origin of the given key or
null if the origin cannot be
determined. |
static <K> Origin |
OriginLookup.getOrigin(Object source,
K key)
Attempt to lookup the origin from the given source.
|
default Origin |
Origin.getParent()
Return the parent origin for this instance if there is one.
|
Origin |
TextResourceOrigin.getParent() |
Modifier and Type | Method and Description |
---|---|
static List<Origin> |
Origin.parentsFrom(Object source)
Find the parents of the
Origin that an object originated from. |
Modifier and Type | Method and Description |
---|---|
static OriginTrackedValue |
OriginTrackedValue.of(Object value,
Origin origin)
|
static OriginTrackedResource |
OriginTrackedResource.of(Resource resource,
Origin origin)
Return a new
origin tracked version the given
Resource . |
static OriginTrackedResource.OriginTrackedWritableResource |
OriginTrackedResource.of(WritableResource resource,
Origin origin)
Return a new
origin tracked version the given
WritableResource . |