Class ComplementumWeaver
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ComplementumWeaver
This class weaves
Complementa
into the current
PCMInstance
as needed.-
Constructor Summary
ConstructorDescriptionComplementumWeaver
(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution) Create complementum weaver byPCMInstance
andRepository
(Solution Repo). -
Method Summary
Modifier and TypeMethodDescriptionvoid
weave
(List<Pair<org.palladiosimulator.pcm.core.entity.Entity, Complementum>> require, List<Pair<org.palladiosimulator.pcm.core.composition.AssemblyConnector, Complementum>> provides) Weave the required complementa into the target architecture.
-
Constructor Details
-
ComplementumWeaver
public ComplementumWeaver(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution) Create complementum weaver byPCMInstance
andRepository
(Solution Repo).- Parameters:
pcmToAdapt
- the pcm instancesolution
- the solution repo
-
-
Method Details
-
weave
public void weave(List<Pair<org.palladiosimulator.pcm.core.entity.Entity, Complementum>> require, List<Pair<org.palladiosimulator.pcm.core.composition.AssemblyConnector, throws FCCWeaverExceptionComplementum>> provides) Weave the required complementa into the target architecture.- Parameters:
require
- the required complementa (Interface, Signature, .. and complementum)provides
- the provided complementa (location and complementum)- Throws:
FCCWeaverException
- if complementum not found
-