Class DomChainBuilderBase<COMPONENT extends ChainedComponent<?>,CHAIN extends Chain<COMPONENT>>
- java.lang.Object
-
- com.yahoo.vespa.model.builder.xml.dom.VespaDomBuilder.DomConfigProducerBuilder<CHAIN>
-
- com.yahoo.vespa.model.builder.xml.dom.chains.DomChainBuilderBase<COMPONENT,CHAIN>
-
- Direct Known Subclasses:
DomDocprocChainBuilder
,DomGenericTargetBuilder
,DomProcessingChainBuilder
,DomSearchChainBuilder
,FilterChainBuilder
public abstract class DomChainBuilderBase<COMPONENT extends ChainedComponent<?>,CHAIN extends Chain<COMPONENT>> extends VespaDomBuilder.DomConfigProducerBuilder<CHAIN>
Base functionality for all chain builders (docprocChain, searchChain, provider, source)- Author:
- Tony Vaagenes
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,ComponentsBuilder.ComponentType>
outerComponentTypeByComponentName
-
Constructor Summary
Constructors Constructor Description DomChainBuilderBase(Collection<ComponentsBuilder.ComponentType<COMPONENT>> allowedComponentTypes, Map<String,ComponentsBuilder.ComponentType> outerComponentTypeByComponentName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract CHAIN
buildChain(DeployState deployState, AbstractConfigProducer ancestor, Element producerSpec, com.yahoo.component.chain.model.ChainSpecification specWithoutInnerComponents)
CHAIN
doBuild(DeployState deployState, AbstractConfigProducer ancestor, Element producerSpec)
-
Methods inherited from class com.yahoo.vespa.model.builder.xml.dom.VespaDomBuilder.DomConfigProducerBuilder
build
-
-
-
-
Field Detail
-
outerComponentTypeByComponentName
protected final Map<String,ComponentsBuilder.ComponentType> outerComponentTypeByComponentName
-
-
Constructor Detail
-
DomChainBuilderBase
public DomChainBuilderBase(Collection<ComponentsBuilder.ComponentType<COMPONENT>> allowedComponentTypes, Map<String,ComponentsBuilder.ComponentType> outerComponentTypeByComponentName)
-
-
Method Detail
-
doBuild
public final CHAIN doBuild(DeployState deployState, AbstractConfigProducer ancestor, Element producerSpec)
- Specified by:
doBuild
in classVespaDomBuilder.DomConfigProducerBuilder<CHAIN extends Chain<COMPONENT>>
-
buildChain
protected abstract CHAIN buildChain(DeployState deployState, AbstractConfigProducer ancestor, Element producerSpec, com.yahoo.component.chain.model.ChainSpecification specWithoutInnerComponents)
-
-