Package com.yahoo.vespa.config.server
Class UserConfigDefinitionRepo
java.lang.Object
com.yahoo.vespa.config.server.UserConfigDefinitionRepo
- All Implemented Interfaces:
com.yahoo.config.model.api.ConfigDefinitionRepo
public class UserConfigDefinitionRepo
extends Object
implements com.yahoo.config.model.api.ConfigDefinitionRepo
- Author:
- hmusum
-
Constructor Summary
ConstructorsConstructorDescriptionUserConfigDefinitionRepo
(com.yahoo.vespa.curator.Curator curator, com.yahoo.path.Path appPath) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.yahoo.vespa.config.ConfigDefinitionKey key, com.yahoo.vespa.config.buildergen.ConfigDefinition configDefinition) com.yahoo.vespa.config.buildergen.ConfigDefinition
get
(com.yahoo.vespa.config.ConfigDefinitionKey key) Map<com.yahoo.vespa.config.ConfigDefinitionKey,
com.yahoo.vespa.config.buildergen.ConfigDefinition>
-
Constructor Details
-
UserConfigDefinitionRepo
public UserConfigDefinitionRepo() -
UserConfigDefinitionRepo
public UserConfigDefinitionRepo(com.yahoo.vespa.curator.Curator curator, com.yahoo.path.Path appPath)
-
-
Method Details
-
add
public void add(com.yahoo.vespa.config.ConfigDefinitionKey key, com.yahoo.vespa.config.buildergen.ConfigDefinition configDefinition) -
getConfigDefinitions
public Map<com.yahoo.vespa.config.ConfigDefinitionKey,com.yahoo.vespa.config.buildergen.ConfigDefinition> getConfigDefinitions()- Specified by:
getConfigDefinitions
in interfacecom.yahoo.config.model.api.ConfigDefinitionRepo
-
get
public com.yahoo.vespa.config.buildergen.ConfigDefinition get(com.yahoo.vespa.config.ConfigDefinitionKey key) - Specified by:
get
in interfacecom.yahoo.config.model.api.ConfigDefinitionRepo
-