Class AssemblyConnectorDeFactoStrategy
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AssemblyConnectorDeFactoStrategy
- All Implemented Interfaces:
IAssemblyConnectorStrategy
Try to add assembly connectors for each edge in the subgraph of relations
which formed the parent composite component. Assembly connector are
established along the graph structure.
-
Constructor Summary
ConstructorsConstructorDescriptionAssemblyConnectorDeFactoStrategy(AssemblyConnectorBuilder connectorBuilder) Default ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildAssemblyConnectors(org.palladiosimulator.pcm.core.entity.ComposedProvidingRequiringEntity compositeStructure, List<ComponentImplementingClassesLink> subComponents) Builder method for the SAMM system architecture.voidbuildAssemblyConnectors(ComponentImplementingClassesLink compositeComponentCandidate, org.jgrapht.Graph<ComponentImplementingClassesLink, ClusteringRelation> compositeComponentSubgraph) Create assembly connectors for the composite component candidate.
-
Constructor Details
-
AssemblyConnectorDeFactoStrategy
Default ctor.- Parameters:
connectorBuilder- The builder to use when actually creating instances of assembly connectors.
-
-
Method Details
-
buildAssemblyConnectors
public void buildAssemblyConnectors(ComponentImplementingClassesLink compositeComponentCandidate, org.jgrapht.Graph<ComponentImplementingClassesLink, ClusteringRelation> compositeComponentSubgraph) Description copied from interface:IAssemblyConnectorStrategyCreate assembly connectors for the composite component candidate.- Specified by:
buildAssemblyConnectorsin interfaceIAssemblyConnectorStrategy- Parameters:
compositeComponentCandidate- The SAM model element representing the composite component foundcompositeComponentSubgraph- The graph of relations between the subcomponents of the composite component used when detecting the composite component
-
buildAssemblyConnectors
public void buildAssemblyConnectors(org.palladiosimulator.pcm.core.entity.ComposedProvidingRequiringEntity compositeStructure, List<ComponentImplementingClassesLink> subComponents) Description copied from interface:IAssemblyConnectorStrategyBuilder method for the SAMM system architecture. Creates internal assembly connectors.- Specified by:
buildAssemblyConnectorsin interfaceIAssemblyConnectorStrategysubComponents- The inner components for which to establish the connectors.
-