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
ConstructorDescriptionAssemblyConnectorDeFactoStrategy
(AssemblyConnectorBuilder connectorBuilder) Default ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAssemblyConnectors
(org.palladiosimulator.pcm.core.entity.ComposedProvidingRequiringEntity compositeStructure, List<ComponentImplementingClassesLink> subComponents) Builder method for the SAMM system architecture.void
buildAssemblyConnectors
(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:IAssemblyConnectorStrategy
Create assembly connectors for the composite component candidate.- Specified by:
buildAssemblyConnectors
in 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:IAssemblyConnectorStrategy
Builder method for the SAMM system architecture. Creates internal assembly connectors.- Specified by:
buildAssemblyConnectors
in interfaceIAssemblyConnectorStrategy
subComponents
- The inner components for which to establish the connectors.
-