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 | Interface and Description |
---|---|
interface |
ConfigDataLoader<R extends ConfigDataResource>
Strategy class that can be used used to load
ConfigData for a given
ConfigDataResource . |
interface |
ConfigDataLocationResolver<R extends ConfigDataResource>
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigTreeConfigDataResource
ConfigDataResource backed by a config tree directory. |
class |
StandardConfigDataResource
ConfigDataResource backed by a Resource . |
Modifier and Type | Method and Description |
---|---|
ConfigDataResource |
InvalidConfigDataPropertyException.getLocation()
Return the
ConfigDataResource of the invalid property or null if
the source was not loaded from ConfigData . |
ConfigDataResource |
InactiveConfigDataAccessException.getLocation()
Return the
ConfigDataResource of the property source or null if the
source was not loaded from ConfigData . |
ConfigDataResource |
ConfigDataLocationResolverContext.getParent()
Provides access to the parent
ConfigDataResource that triggered the resolve
or null if there is no available parent. |
ConfigDataResource |
ConfigDataResourceNotFoundException.getResource()
Return the resource that could not be found.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource,
File fileToCheck)
Throw a
ConfigDataNotFoundException if the specified File does not
exist. |
static void |
ConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource,
Path pathToCheck)
Throw a
ConfigDataNotFoundException if the specified Path does not
exist. |
static void |
ConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource,
Resource resourceToCheck)
Throw a
ConfigDataNotFoundException if the specified Resource does
not exist. |
Constructor and Description |
---|
ConfigDataResourceNotFoundException(ConfigDataResource resource)
Create a new
ConfigDataResourceNotFoundException instance. |
ConfigDataResourceNotFoundException(ConfigDataResource resource,
Throwable cause)
Create a new
ConfigDataResourceNotFoundException instance. |