类 ConfigTreeConfigDataLocationResolver
java.lang.Object
org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver
public class ConfigTreeConfigDataLocationResolver
extends Object
implements ConfigDataLocationResolver<ConfigTreeConfigDataResource>
ConfigDataLocationResolver
for config tree locations.- 从以下版本开始:
- 2.4.0
- 作者:
- Madhura Bhave, Phillip Webb
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
isResolvable
(ConfigDataLocationResolverContext context, ConfigDataLocation location) Returns if the specified location address can be resolved by this resolver.resolve
(ConfigDataLocationResolverContext context, ConfigDataLocation location) Resolve aConfigDataLocation
into one or moreConfigDataResource
instances.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.context.config.ConfigDataLocationResolver
resolveProfileSpecific
-
构造器详细资料
-
ConfigTreeConfigDataLocationResolver
-
-
方法详细资料
-
isResolvable
从接口复制的说明:ConfigDataLocationResolver
Returns if the specified location address can be resolved by this resolver.- 指定者:
isResolvable
在接口中ConfigDataLocationResolver<ConfigTreeConfigDataResource>
- 参数:
context
- the location resolver contextlocation
- the location to check.- 返回:
- if the location is supported by this resolver
-
resolve
public List<ConfigTreeConfigDataResource> resolve(ConfigDataLocationResolverContext context, ConfigDataLocation location) 从接口复制的说明:ConfigDataLocationResolver
Resolve aConfigDataLocation
into one or moreConfigDataResource
instances.- 指定者:
resolve
在接口中ConfigDataLocationResolver<ConfigTreeConfigDataResource>
- 参数:
context
- the location resolver contextlocation
- the location that should be resolved- 返回:
- a list of
resources
in ascending priority order.
-