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 |
UnsupportedConfigDataLocationException.getLocation()
Return the unsupported location reference.
|
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. |
ConfigDataLocation[] |
ConfigDataLocation.split()
Return an array of
ConfigDataLocation elements built by splitting this
ConfigDataLocation around a delimiter of ";" . |
ConfigDataLocation[] |
ConfigDataLocation.split(String delimiter)
Return an array of
ConfigDataLocation elements built by splitting this
ConfigDataLocation around the specified delimiter. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigTreeConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
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) |
default void |
ConfigDataEnvironmentUpdateListener.onPropertySourceAdded(PropertySource<?> propertySource,
ConfigDataLocation location,
ConfigDataResource resource)
Called when a new
PropertySource is added to the Environment . |
List<ConfigTreeConfigDataResource> |
ConfigTreeConfigDataLocationResolver.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.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,
String message,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |