java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ComplementumWeaver

public final class ComplementumWeaver extends Object
This class weaves Complementa into the current PCMInstance as needed.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ComplementumWeaver(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution)
    Create complementum weaver by PCMInstance and Repository (Solution Repo).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.

    Methods inherited from class java.lang.Object

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

    • ComplementumWeaver

      public ComplementumWeaver(org.palladiosimulator.solver.models.PCMInstance pcmToAdapt, org.palladiosimulator.pcm.repository.Repository solution)
      Create complementum weaver by PCMInstance and Repository (Solution Repo).
      Parameters:
      pcmToAdapt - the pcm instance
      solution - 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,Complementum>> provides) throws FCCWeaverException
      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