java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<AbstractConfigProducer<?>>
com.yahoo.vespa.model.container.component.chain.Chain<T>
All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, ConfigProducer, Serializable
Direct Known Subclasses:
DocprocChain, HttpFilterChain, ProcessingChain, SearchChain

public class Chain<T extends ChainedComponent<?>> extends AbstractConfigProducer<AbstractConfigProducer<?>>
Represents a component chain in the vespa model. The inner components are represented as children.
Author:
Tony Vaagenes, gjoranv
See Also:
  • Constructor Details

    • Chain

      public Chain(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerComponents)
  • Method Details

    • addInnerComponent

      public void addInnerComponent(T component)
    • getChainSpecification

      public com.yahoo.component.chain.model.ChainSpecification getChainSpecification()
    • getInnerComponents

      public Collection<T> getInnerComponents()
    • getGlobalComponentId

      public com.yahoo.component.ComponentId getGlobalComponentId()
    • getId

      public final com.yahoo.component.ComponentId getId()
    • getComponentId

      public final com.yahoo.component.ComponentId getComponentId()
    • getType

      public com.yahoo.container.core.ChainsConfig.Chains.Type.Enum getType()
    • toString

      public String toString()
      Overrides:
      toString in class Object