Class Chain<COMPONENT extends ChainedComponent>


  • public class Chain<COMPONENT extends ChainedComponent>
    extends Object
    An immutable ordered list of components
    Author:
    Tony Vaagenes
    • Constructor Detail

      • Chain

        public Chain​(String id,
                     List<COMPONENT> componentList)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        public Chain​(com.yahoo.component.ComponentId id,
                     List<COMPONENT> componentList)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        public Chain​(List<COMPONENT> componentList)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        @SafeVarargs
        public Chain​(COMPONENT... components)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        @SafeVarargs
        public Chain​(String id,
                     COMPONENT... components)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        @SafeVarargs
        public Chain​(com.yahoo.component.ComponentId id,
                     COMPONENT... components)
        Create a chain directly. This will NOT order the chain by the ordering constraints.
      • Chain

        public Chain​(com.yahoo.component.ComponentId id,
                     Collection<COMPONENT> components,
                     Collection<Phase> phases)
        Create a chain by using a builder. This will order the chain by the ordering constraints.