java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.AssemblyWeaving

public class AssemblyWeaving extends Object
This class handles weaving of the PCM assembly/system model.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssemblyWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Predicate<org.palladiosimulator.pcm.core.composition.AssemblyContext>
    getAssemblyContextInstantiating(org.palladiosimulator.pcm.repository.RepositoryComponent component)
     
    protected <T extends org.palladiosimulator.pcm.repository.Role>
    org.palladiosimulator.pcm.repository.Role
    getComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace)
     
    void
    Applies the weaving operation on the assembly model.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • parent

      protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent
  • Constructor Details

    • AssemblyWeaving

      public AssemblyWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent)
  • Method Details

    • weave

      public void weave(IWeavingInstruction instruction)
      Applies the weaving operation on the assembly model. Firstly, all required fc components are determined, according to the fc meta-architecture. Secondly, realizing components for each fcc are chosen, according to selected solution/CV. Thirdly, in case of any required complementa, additional components are added. Fourth, the components are assembled into the system and connected by assembly connectors.
      Parameters:
      instruction - the weaving instruction to apply.
    • getComplimentaryRoleOf

      protected <T extends org.palladiosimulator.pcm.repository.Role> org.palladiosimulator.pcm.repository.Role getComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace) throws FCCWeaverException
      Throws:
      FCCWeaverException
    • getAssemblyContextInstantiating

      protected Predicate<org.palladiosimulator.pcm.core.composition.AssemblyContext> getAssemblyContextInstantiating(org.palladiosimulator.pcm.repository.RepositoryComponent component)