java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.handler.FCCStructureHandler

public class FCCStructureHandler extends Object
  • Constructor Details

  • Method Details

    • getAffectedComponents

      public List<org.palladiosimulator.pcm.repository.RepositoryComponent> getAffectedComponents()
    • getFCCsRequiredBy

      public List<CompletionComponent> getFCCsRequiredBy(CompletionComponent fcc)
      Determines all FCCs that are required by a specific FCC recursively.
      Parameters:
      fcc - the FCC.
      Returns:
      all FCCs that are required by the FCC.
    • getStructureOfFCCAndRequiredAccordingTo

      public <T> List<T> getStructureOfFCCAndRequiredAccordingTo(Function<org.palladiosimulator.pcm.repository.RepositoryComponent,List<T>> resolvingFunction)
    • requiresComplementa

      public boolean requiresComplementa(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents)
      Checks if any of the specified FCCs requires an additional complementum.
      Parameters:
      realizingComponents - the specified FCCs.
      Returns:
      whether any of the specified FCCs requires a complementum.
    • getRequiredComplementa

      public List<org.palladiosimulator.pcm.repository.RepositoryComponent> getRequiredComplementa(List<org.palladiosimulator.pcm.repository.RepositoryComponent> realizingComponents)
      Determines all complementa that are required by the specified components.
      Parameters:
      realizingComponents - the specified components.
      Returns:
      all complementa that are required.
    • getComponentsIntantiatingFCC

      public org.palladiosimulator.pcm.core.composition.AssemblyContext getComponentsIntantiatingFCC(CompletionComponent fcc, List<org.palladiosimulator.pcm.core.composition.AssemblyContext> contexts)