blob: eaf42c18cdb3492a1e51ce59e882e19fdc2fa0fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model;
/**
* An interface which provides addition of new config models.
* This exists because some models need to add additional models during the build phase so *write* access
* to the config model repo is needed. *Read* access, on the other hand needs to happen through config model dependency
* injection to avoid circular dependencies or undeclared dependencies working by accident.
*
* @author bratseth
*/
public interface ConfigModelRepoAdder {
void add(ConfigModel model);
}
|