Class AssemblyWeaving
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.AssemblyWeaving
- Direct Known Subclasses:
AssemblyLocationWeaving
,DelegationLocationWeaving
This class is responsible for weaving the assembly view-type in the context
of the adapter transformation strategy.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving
-
Constructor Summary
ConstructorDescriptionAssemblyWeaving
(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addConnector
(org.palladiosimulator.pcm.core.composition.Connector connectorToAdd) protected <T extends org.palladiosimulator.pcm.repository.Role>
org.palladiosimulator.pcm.repository.RolegetComplimentaryRoleOf
(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace) protected List<org.palladiosimulator.pcm.repository.RequiredRole>
void
weave
(WeavingInstruction weavingInstruction) abstract void
weaveAdapterIntoSystem
(org.palladiosimulator.pcm.core.composition.Connector weavingLocation) The implementer is responsible to realize the weaving of the adapter in the system depending on the connection of the components the adapter is inserted in between.
-
Field Details
-
parent
protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent
-
-
Constructor Details
-
AssemblyWeaving
public AssemblyWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
-
-
Method Details
-
weave
- Throws:
FCCWeaverException
-
getComplimentaryRoleOf
protected <T extends org.palladiosimulator.pcm.repository.Role> org.palladiosimulator.pcm.repository.Role getComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace) throws FCCWeaverException - Throws:
FCCWeaverException
-
getRequiredRolesOfAdapter
-
addConnector
protected void addConnector(org.palladiosimulator.pcm.core.composition.Connector connectorToAdd) -
weaveAdapterIntoSystem
public abstract void weaveAdapterIntoSystem(org.palladiosimulator.pcm.core.composition.Connector weavingLocation) throws FCCWeaverException The implementer is responsible to realize the weaving of the adapter in the system depending on the connection of the components the adapter is inserted in between.- Parameters:
weavingLocation
- - Contains the informations about the weaving location.- Throws:
ConcernWeavingException
- - Will be thrown if an error occurs during weaving.FCCWeaverException
-