Class Chains<CHAIN extends Chain<?>>
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<AnyConfigProducer>
com.yahoo.vespa.model.container.component.chain.Chains<CHAIN>
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.container.core.ChainsConfig.Producer
,ConfigProducer
,Serializable
- Direct Known Subclasses:
DocprocChains
,FilterChains
,ProcessingChains
,SearchChains
public class Chains<CHAIN extends Chain<?>>
extends TreeConfigProducer<AnyConfigProducer>
implements com.yahoo.container.core.ChainsConfig.Producer
Root config producer the whole chains model(contains chains and components).
- Author:
- Tony Vaagenes, gjoranv
- See Also:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
add
(ChainedComponent outerComponent) com.yahoo.component.provider.ComponentRegistry<CHAIN>
Set<ChainedComponent<?>>
com.yahoo.component.provider.ComponentRegistry<ChainedComponent<?>>
protected ConfigProducerGroup<CHAIN>
void
getConfig
(com.yahoo.container.core.ChainsConfig.Builder builder) void
void
validate()
check constraints depending on the state of the vespamodel graph.Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild
Methods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHosted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Constructor Details
-
Chains
-
-
Method Details
-
initializeComponents
public void initializeComponents() -
validate
Description copied from interface:ConfigProducer
check constraints depending on the state of the vespamodel graph. When overriding, you must invoke super.- Specified by:
validate
in interfaceConfigProducer
- Overrides:
validate
in classTreeConfigProducer<AnyConfigProducer>
- Throws:
Exception
-
allComponents
-
componentsRegistry
-
allChains
-
add
-
add
-
getConfig
public void getConfig(com.yahoo.container.core.ChainsConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.container.core.ChainsConfig.Producer
-
getComponentGroup
-
getChainGroup
-