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

import com.yahoo.config.model.producer.AbstractConfigProducer;

/**
 * @author Tony Vaagenes
 */
public class ComponentGroup <CHILD extends Component<?, ?>> extends ConfigProducerGroup<CHILD> {

    public ComponentGroup(AbstractConfigProducer parent, String subId) {
        super(parent, subId);
    }

    public void addComponent(CHILD producer) {
        super.addComponent(producer.getComponentId(), producer);
    }

}