blob: a78236b28a8004c0a4d9565994893495bfabd0f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;
import com.yahoo.vespa.config.ConfigDefinitionKey;
import com.yahoo.vespa.config.buildergen.ConfigDefinition;
import java.util.Map;
/**
* A config definition repository.
*
* @author Ulf Lillengen
*/
public interface ConfigDefinitionRepo {
/**
* Retrieve a map with all config definitions in this repo.
*/
Map<ConfigDefinitionKey, ConfigDefinition> getConfigDefinitions();
/**
* Gets a config definition from repo or null if not found
*/
ConfigDefinition get(ConfigDefinitionKey key);
}
|