aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/config/model/deploy/ConfigDefinitionStore.java
blob: 7a3290ae59217deaca99d09a0b1936e67cb6c9a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.deploy;

import com.yahoo.vespa.config.ConfigDefinition;
import com.yahoo.vespa.config.ConfigDefinitionKey;

import java.util.Optional;

/**
 * @author Ulf Lilleengen
 */
public interface ConfigDefinitionStore {

    /**
     * Returns a config definition, or empty if the config definition is not found.
     */
    Optional<ConfigDefinition> getConfigDefinition(ConfigDefinitionKey defKey);

}