Class FCCStructureHandler
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.handler.FCCStructureHandler
-
Constructor Summary
ConstructorDescriptionFCCStructureHandler
(CompletionComponent fcc, SolutionManager mergedRepoManager) -
Method Summary
Modifier and TypeMethodDescriptionList<org.palladiosimulator.pcm.repository.RepositoryComponent>
org.palladiosimulator.pcm.core.composition.AssemblyContext
getComponentsIntantiatingFCC
(CompletionComponent fcc, List<org.palladiosimulator.pcm.core.composition.AssemblyContext> contexts) Determines all FCCs that are required by a specific FCC recursively.List<org.palladiosimulator.pcm.repository.RepositoryComponent>
getRequiredComplementa
(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents) Determines all complementa that are required by the specified components.<T> List<T>
getStructureOfFCCAndRequiredAccordingTo
(Function<org.palladiosimulator.pcm.repository.RepositoryComponent, List<T>> resolvingFunction) boolean
requiresComplementa
(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents) Checks if any of the specified FCCs requires an additional complementum.
-
Constructor Details
-
FCCStructureHandler
-
-
Method Details
-
getAffectedComponents
-
getFCCsRequiredBy
Determines all FCCs that are required by a specific FCC recursively.- Parameters:
fcc
- the FCC.- Returns:
- all FCCs that are required by the FCC.
-
getStructureOfFCCAndRequiredAccordingTo
-
requiresComplementa
public boolean requiresComplementa(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents) Checks if any of the specified FCCs requires an additional complementum.- Parameters:
realizingComponents
- the specified FCCs.- Returns:
- whether any of the specified FCCs requires a complementum.
-
getRequiredComplementa
public List<org.palladiosimulator.pcm.repository.RepositoryComponent> getRequiredComplementa(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents) Determines all complementa that are required by the specified components.- Parameters:
realizingComponents
- the specified components.- Returns:
- all complementa that are required.
-
getComponentsIntantiatingFCC
public org.palladiosimulator.pcm.core.composition.AssemblyContext getComponentsIntantiatingFCC(CompletionComponent fcc, List<org.palladiosimulator.pcm.core.composition.AssemblyContext> contexts)
-