Class ParameterManagerConfigDataLocationResolver

java.lang.Object
com.google.cloud.spring.autoconfigure.parametermanager.ParameterManagerConfigDataLocationResolver
All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<ParameterManagerConfigDataResource>

public class ParameterManagerConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ParameterManagerConfigDataResource>
  • Field Details

    • PARAMETER_MANAGER_PREFIX

      public static final String PARAMETER_MANAGER_PREFIX
      ConfigData Prefix for Google Cloud Parameter Manager.
      See Also:
  • Constructor Details

    • ParameterManagerConfigDataLocationResolver

      public ParameterManagerConfigDataLocationResolver()
  • Method Details

    • isResolvable

      public boolean isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location)
      Specified by:
      isResolvable in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ParameterManagerConfigDataResource>
    • resolve

      public List<ParameterManagerConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException, org.springframework.boot.context.config.ConfigDataResourceNotFoundException
      Specified by:
      resolve in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ParameterManagerConfigDataResource>
      Throws:
      org.springframework.boot.context.config.ConfigDataLocationNotFoundException
      org.springframework.boot.context.config.ConfigDataResourceNotFoundException