Class AdapterWeavingStrategy
- java.lang.Object
-
- edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.AdapterWeavingStrategy
-
- All Implemented Interfaces:
IWeavingStrategy
public class AdapterWeavingStrategy extends Object implements IWeavingStrategy
-
-
Constructor Summary
Constructors Constructor Description AdapterWeavingStrategy(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution, FeatureCompletion fc, InclusionMechanism im)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.AssemblyContext
getAdapterAssemblyContext()
org.palladiosimulator.pcm.repository.RepositoryComponent
getAdapterComponent()
List<Choice>
getConvertedFCCClassChoices()
PcmAllocationManager
getPCMAllocationManager()
PcmServiceEffectSpecificationManager
getPCMSEFFManager()
PcmSystemManager
getPCMSystemManager()
org.palladiosimulator.solver.models.PCMInstance
getPCMToAdapt()
PcmUsageModelManager
getPCMUsageModelManager()
SolutionManager
getSolutionManager()
void
initialize(List<Pair<ComplementumVisnetis,WeavingLocation>> locations, Choice fccChoice, List<Choice> allocationChoices)
void
setAdapter(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly)
void
setAdapter(org.palladiosimulator.pcm.repository.RepositoryComponent component)
void
weave()
-
-
-
Constructor Detail
-
AdapterWeavingStrategy
public AdapterWeavingStrategy(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution, FeatureCompletion fc, InclusionMechanism im)
-
-
Method Detail
-
weave
public void weave() throws FCCWeaverException
- Specified by:
weave
in interfaceIWeavingStrategy
- Throws:
FCCWeaverException
-
setAdapter
public void setAdapter(org.palladiosimulator.pcm.repository.RepositoryComponent component)
-
setAdapter
public void setAdapter(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly)
-
getAdapterComponent
public org.palladiosimulator.pcm.repository.RepositoryComponent getAdapterComponent()
-
getAdapterAssemblyContext
public org.palladiosimulator.pcm.core.composition.AssemblyContext getAdapterAssemblyContext()
-
getPCMToAdapt
public org.palladiosimulator.solver.models.PCMInstance getPCMToAdapt()
-
getSolutionManager
public SolutionManager getSolutionManager()
-
getPCMAllocationManager
public PcmAllocationManager getPCMAllocationManager()
-
getPCMSEFFManager
public PcmServiceEffectSpecificationManager getPCMSEFFManager()
-
getPCMSystemManager
public PcmSystemManager getPCMSystemManager()
-
getPCMUsageModelManager
public PcmUsageModelManager getPCMUsageModelManager()
-
initialize
public void initialize(List<Pair<ComplementumVisnetis,WeavingLocation>> locations, Choice fccChoice, List<Choice> allocationChoices)
- Specified by:
initialize
in interfaceIWeavingStrategy
-
getConvertedFCCClassChoices
public List<Choice> getConvertedFCCClassChoices()
- Specified by:
getConvertedFCCClassChoices
in interfaceIWeavingStrategy
-
-