Class AlternativeComponent


  • public class AlternativeComponent
    extends Object
    TODO: Currently, components must have the same provided _and_ required roles, otherwise, an erroneous system is created.
    • Method Detail

      • generateDesignDecisions

        public List<AssembledComponentDegree> generateDesignDecisions​(org.palladiosimulator.solver.models.PCMInstance pcmInstance)
        See Also:
        de.uka.ipd.sdq.dsexplore.newcandidates.INewCandidates#generateNewCandidates(de.uka.ipd.sdq.dsexplore.analysis.IAnalysisResult)
      • applyChange

        public void applyChange​(org.palladiosimulator.pcm.core.composition.AssemblyContext changedAssemblyContext,
                                org.palladiosimulator.pcm.repository.RepositoryComponent newComponent)
        Set the given RepositoryComponent as the encapsulated component of the given AssemblyContext Fixes assembly connectors and delegation connectors that point to the changed assembly so that they point to the new required and provided roles. To do so, the right previously build component replacer is retrieved from alternativeMap and replace is invoked, which applies the change.
        Parameters:
        changedAssemblyContext -
        newComponent -
        currentComponent -