类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanisResolvable(ConfigDataLocationResolverContext context, ConfigDataLocation location) Returns if the specified location address can be resolved by this resolver.resolve(ConfigDataLocationResolverContext context, ConfigDataLocation location) Resolve aConfigDataLocationinto one or moreConfigDataResourceinstances.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.boot.context.config.ConfigDataLocationResolver
resolveProfileSpecific
-
构造器详细资料
-
ConfigTreeConfigDataLocationResolver
-
-
方法详细资料
-
isResolvable
从接口复制的说明:ConfigDataLocationResolverReturns 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) 从接口复制的说明:ConfigDataLocationResolverResolve aConfigDataLocationinto one or moreConfigDataResourceinstances.- 指定者:
resolve在接口中ConfigDataLocationResolver<ConfigTreeConfigDataResource>- 参数:
context- the location resolver contextlocation- the location that should be resolved- 返回:
- a list of
resourcesin ascending priority order.
-