Class AssemblyConnectorsInsideCompositeComponentStrategy
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AssemblyConnectorsInsideCompositeComponentStrategy
- All Implemented Interfaces:
IAssemblyConnectorStrategy
public class AssemblyConnectorsInsideCompositeComponentStrategy
extends Object
implements IAssemblyConnectorStrategy
Strategy: Prefer establishing assembly connectors INSIDE a composite
component instead of delegating to required ports.
Establish assembly connector for remaining non-connected ports. These are connectors which cannot be enabled along with the clustering graph structure.
Establish assembly connector for remaining non-connected ports. These are connectors which cannot be enabled along with the clustering graph structure.
-
Constructor Summary
ConstructorDescriptionDefault ctor.AssemblyConnectorsInsideCompositeComponentStrategy
(AssemblyConnectorBuilder connectorBuilder) Deprecated. -
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
-
AssemblyConnectorsInsideCompositeComponentStrategy
@Deprecated public AssemblyConnectorsInsideCompositeComponentStrategy(AssemblyConnectorBuilder connectorBuilder) Deprecated.Outdated ctor. Use argument-less ctor instead.- Parameters:
connectorBuilder
- The builder to use when actually creating instances of assembly connectors.
-
AssemblyConnectorsInsideCompositeComponentStrategy
public AssemblyConnectorsInsideCompositeComponentStrategy()Default ctor.
-
-
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.
-