Class ConfigTreeConfigDataLocationResolver
java.lang.Object
org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver
- All Implemented Interfaces:
- ConfigDataLocationResolver<ConfigTreeConfigDataResource>
public class ConfigTreeConfigDataLocationResolver
extends Object
implements ConfigDataLocationResolver<ConfigTreeConfigDataResource>
ConfigDataLocationResolver for config tree locations.- Since:
- 2.4.0
- 
Constructor SummaryConstructorsConstructorDescriptionConfigTreeConfigDataLocationResolver(org.springframework.core.io.ResourceLoader resourceLoader) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisResolvable(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.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.context.config.ConfigDataLocationResolverresolveProfileSpecific
- 
Constructor Details- 
ConfigTreeConfigDataLocationResolverpublic ConfigTreeConfigDataLocationResolver(org.springframework.core.io.ResourceLoader resourceLoader) 
 
- 
- 
Method Details- 
isResolvableDescription copied from interface:ConfigDataLocationResolverReturns if the specified location address can be resolved by this resolver.- Specified by:
- isResolvablein interface- ConfigDataLocationResolver<ConfigTreeConfigDataResource>
- Parameters:
- context- the location resolver context
- location- the location to check.
- Returns:
- if the location is supported by this resolver
 
- 
resolvepublic List<ConfigTreeConfigDataResource> resolve(ConfigDataLocationResolverContext context, ConfigDataLocation location) Description copied from interface:ConfigDataLocationResolverResolve aConfigDataLocationinto one or moreConfigDataResourceinstances.- Specified by:
- resolvein interface- ConfigDataLocationResolver<ConfigTreeConfigDataResource>
- Parameters:
- context- the location resolver context
- location- the location that should be resolved
- Returns:
- a list of resourcesin ascending priority order.
 
 
-