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

import com.yahoo.config.model.ApplicationConfigProducerRoot;
import com.yahoo.config.model.producer.AnyConfigProducer;
import com.yahoo.config.model.producer.TreeConfigProducer;

/**
 * A config provider for the model config. The ModelConfig is a common config and produced by {@link ApplicationConfigProducerRoot} , this config
 * producer exists to make the admin/model config id exist for legacy reasons.
 * @author hmusum
 * @author gjoranv
 * @since 5.0.8
 */
public class ModelConfigProvider extends TreeConfigProducer<AnyConfigProducer> {

    public ModelConfigProvider(TreeConfigProducer<AnyConfigProducer> parent) {
        super(parent, "model");
    }
}