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 |
ConfigDataResourceNotFoundException.getLocation()
Return the original location that was resolved to determine the resource.
|
ConfigDataLocation |
ConfigDataLocationNotFoundException.getLocation()
Return the location that could not be found.
|
ConfigDataLocation |
UnsupportedConfigDataLocationException.getLocation()
Return the unsupported location reference.
|
static ConfigDataLocation |
ConfigDataLocation.of(String location)
Factory method to create a new
ConfigDataLocation from a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigTreeConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
StandardConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
ConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Returns if the specified location address can be resolved by this resolver.
|
List<ConfigTreeConfigDataResource> |
ConfigTreeConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<R> |
ConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances. |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles) |
default List<R> |
ConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances based on available profiles. |
Constructor and Description |
---|
ConfigDataLocationNotFoundException(ConfigDataLocation location)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |