Package com.yahoo.config.model.producer
Class UserConfigRepo
java.lang.Object
com.yahoo.config.model.producer.UserConfigRepo
A UserConfigRepo is a repository for user configs, typically for a particular config producer. The repo encapsulates
how the user configs are stored, and defines the methods to retrieve user configs and merge the repo with others.
- Author:
- Ulf Lilleengen
-
Constructor Summary
ConstructorDescriptionUserConfigRepo
(Map<com.yahoo.vespa.config.ConfigDefinitionKey, com.yahoo.vespa.config.ConfigPayloadBuilder> map) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Set<com.yahoo.vespa.config.ConfigDefinitionKey>
The keys of all the configs contained in this.com.yahoo.vespa.config.ConfigPayloadBuilder
get
(com.yahoo.vespa.config.ConfigDefinitionKey key) boolean
isEmpty()
void
merge
(UserConfigRepo newRepo) int
size()
toString()
-
Constructor Details
-
UserConfigRepo
public UserConfigRepo() -
UserConfigRepo
public UserConfigRepo(Map<com.yahoo.vespa.config.ConfigDefinitionKey, com.yahoo.vespa.config.ConfigPayloadBuilder> map)
-
-
Method Details
-
clone
-
get
public com.yahoo.vespa.config.ConfigPayloadBuilder get(com.yahoo.vespa.config.ConfigDefinitionKey key) -
merge
-
isEmpty
public boolean isEmpty() -
size
public int size() -
toString
-
configsProduced
The keys of all the configs contained in this.- Returns:
- a set of ConfigDefinitionsKey
-