Class ChainSpecification


  • @Immutable
    public class ChainSpecification
    extends java.lang.Object
    Specifies how the components should be selected to create a chain.
    Author:
    Tony Vaagenes
    • Field Detail

      • componentId

        public final com.yahoo.component.ComponentId componentId
      • componentReferences

        public final java.util.Set<com.yahoo.component.ComponentSpecification> componentReferences
    • Constructor Detail

      • ChainSpecification

        public ChainSpecification​(com.yahoo.component.ComponentId componentId,
                                  ChainSpecification.Inheritance inheritance,
                                  java.util.Collection<Phase> phases,
                                  java.util.Set<com.yahoo.component.ComponentSpecification> componentReferences)
    • Method Detail

      • addComponents

        public ChainSpecification addComponents​(java.util.Collection<com.yahoo.component.ComponentSpecification> componentSpecifications)
      • addInherits

        public ChainSpecification addInherits​(java.util.Collection<com.yahoo.component.ComponentSpecification> inheritedChains)
      • setComponentId

        public ChainSpecification setComponentId​(com.yahoo.component.ComponentId newComponentId)
      • phases

        public java.util.Collection<Phase> phases()