blob: 4af1cd2259f50eb18835ea64ec998b668eac2a63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. 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.AnyConfigProducer;
import com.yahoo.config.model.producer.TreeConfigProducer;
/**
* @author Tony Vaagenes
*/
public class ComponentGroup <CGCHILD extends Component<?, ?>> extends ConfigProducerGroup<CGCHILD> {
public ComponentGroup(TreeConfigProducer<AnyConfigProducer> parent, String subId) {
super(parent, subId);
}
public void addComponent(CGCHILD producer) {
super.addComponent(producer.getComponentId(), producer);
}
}
|