Package | Description |
---|---|
org.springframework.boot.context.config |
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
|
Modifier and Type | Method and Description |
---|---|
ConfigDataLocation |
UnsupportedConfigDataLocationException.getLocation()
Return the unsupported location reference.
|
ConfigDataLocation |
ConfigDataResourceNotFoundException.getLocation()
Return the original location that was resolved to determine the resource.
|
ConfigDataLocation |
ConfigDataLocationNotFoundException.getLocation()
Return the location that could not be found.
|
static ConfigDataLocation |
ConfigDataLocation.of(String location)
Factory method to create a new
ConfigDataLocation from a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Returns if the specified location address can be resolved by this resolver.
|
boolean |
StandardConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
ConfigTreeConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<R> |
ConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances. |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<ConfigTreeConfigDataResource> |
ConfigTreeConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
default List<R> |
ConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances based on available profiles. |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles) |
Constructor and Description |
---|
ConfigDataLocationNotFoundException(ConfigDataLocation location)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |