Package com.yahoo.component.chain.model
Class ChainSpecification
java.lang.Object
com.yahoo.component.chain.model.ChainSpecification
Specifies how the components should be selected to create a chain. Immutable.
- Author:
- Tony Vaagenes
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal com.yahoo.component.ComponentId
final Set<com.yahoo.component.ComponentSpecification>
-
Constructor Summary
ConstructorDescriptionChainSpecification
(com.yahoo.component.ComponentId componentId, ChainSpecification.Inheritance inheritance, Collection<Phase> phases, Set<com.yahoo.component.ComponentSpecification> componentReferences) -
Method Summary
Modifier and TypeMethodDescriptionaddComponents
(Collection<com.yahoo.component.ComponentSpecification> componentSpecifications) addInherits
(Collection<com.yahoo.component.ComponentSpecification> inheritedChains) flatten
(Resolver<ChainSpecification> allChainSpecifications) phases()
setComponentId
(com.yahoo.component.ComponentId newComponentId)
-
Field Details
-
componentId
public final com.yahoo.component.ComponentId componentId -
inheritance
-
componentReferences
-
-
Constructor Details
-
ChainSpecification
public ChainSpecification(com.yahoo.component.ComponentId componentId, ChainSpecification.Inheritance inheritance, Collection<Phase> phases, Set<com.yahoo.component.ComponentSpecification> componentReferences)
-
-
Method Details
-
addComponents
public ChainSpecification addComponents(Collection<com.yahoo.component.ComponentSpecification> componentSpecifications) -
addInherits
public ChainSpecification addInherits(Collection<com.yahoo.component.ComponentSpecification> inheritedChains) -
setComponentId
-
flatten
-
phases
-