Class StaticConfigDefinitionRepo

java.lang.Object
com.yahoo.config.model.application.provider.StaticConfigDefinitionRepo
All Implemented Interfaces:
com.yahoo.config.model.api.ConfigDefinitionRepo

public class StaticConfigDefinitionRepo extends Object implements com.yahoo.config.model.api.ConfigDefinitionRepo
A global pool of all config definitions that this server knows about. These objects can be shared by all tenants, as they are not modified.
Author:
Ulf Lilleengen
  • Constructor Details

    • StaticConfigDefinitionRepo

      public StaticConfigDefinitionRepo()
    • StaticConfigDefinitionRepo

      public StaticConfigDefinitionRepo(File definitionDir)
  • Method Details

    • getConfigDefinitions

      public Map<com.yahoo.vespa.config.ConfigDefinitionKey,com.yahoo.vespa.config.buildergen.ConfigDefinition> getConfigDefinitions()
      Specified by:
      getConfigDefinitions in interface com.yahoo.config.model.api.ConfigDefinitionRepo
    • get

      public com.yahoo.vespa.config.buildergen.ConfigDefinition get(com.yahoo.vespa.config.ConfigDefinitionKey key)
      Specified by:
      get in interface com.yahoo.config.model.api.ConfigDefinitionRepo