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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidadd(ChainedComponent outerComponent) com.yahoo.component.provider.ComponentRegistry<CHAIN>Set<ChainedComponent<?>>com.yahoo.component.provider.ComponentRegistry<ChainedComponent<?>>protected ConfigProducerGroup<CHAIN>voidgetConfig(com.yahoo.container.core.ChainsConfig.Builder builder) voidvoidvalidate()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, removeChildMethods 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, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Constructor Details
-
Chains
-
-
Method Details
-
initializeComponents
public void initializeComponents() -
validate
Description copied from interface:ConfigProducercheck constraints depending on the state of the vespamodel graph. When overriding, you must invoke super.- Specified by:
validatein interfaceConfigProducer- Overrides:
validatein classTreeConfigProducer<AnyConfigProducer>- Throws:
Exception
-
allComponents
-
componentsRegistry
-
allChains
-
add
-
add
-
getConfig
public void getConfig(com.yahoo.container.core.ChainsConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.container.core.ChainsConfig.Producer
-
getComponentGroup
-
getChainGroup
-