Class ServiceEffectSpecificationWeaving
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.ServiceEffectSpecificationWeaving
- Direct Known Subclasses:
ControlFlowServiceEffectSpecificationWeaving
,ExternalCallServiceEffectSpecificationWeaving
,InternalActionServiceEffectSpecificationWeaving
This class handles weaving of the PCM abstract behavior description model
(SEFF).
-
Field Summary
Modifier and TypeFieldDescriptionprotected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving
-
Constructor Summary
ConstructorDescriptionServiceEffectSpecificationWeaving
(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFCCallTo
(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff, org.palladiosimulator.pcm.seff.AbstractAction internalAction, Appearance appears, List<org.palladiosimulator.pcm.repository.OperationSignature> list) Adds a fc call to a SEFF at the specified position (action).protected void
addFCCallToSEFF
(IWeavingInstruction instruction, org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff) Adds a FC call to a SEFF, whereby BEFORE or AFTER mean at the beginning or at the end of the whole SEFF.protected org.palladiosimulator.pcm.repository.OperationRequiredRole
getFcRequiredRole
(org.palladiosimulator.pcm.seff.AbstractAction internalAction, org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Determines the fc required role of the component containing the specified internal action.abstract void
weave
(IWeavingInstruction instruction) Applies weaving instruction on SEFF.
-
Field Details
-
parent
protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent
-
-
Constructor Details
-
ServiceEffectSpecificationWeaving
public ServiceEffectSpecificationWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent)
-
-
Method Details
-
weave
Applies weaving instruction on SEFF.- Parameters:
instruction
- the instruction to apply.
-
addFCCallTo
protected void addFCCallTo(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff, org.palladiosimulator.pcm.seff.AbstractAction internalAction, Appearance appears, List<org.palladiosimulator.pcm.repository.OperationSignature> list) Adds a fc call to a SEFF at the specified position (action).- Parameters:
seff
- the SEFF.internalAction
- the position at which the fc call will be added.appears
- specifies whether the call will be added BEFORE, AFTER or AROUND the specified positionlist
- provided role of the fc call to add.
-
getFcRequiredRole
protected org.palladiosimulator.pcm.repository.OperationRequiredRole getFcRequiredRole(org.palladiosimulator.pcm.seff.AbstractAction internalAction, org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Determines the fc required role of the component containing the specified internal action.- Parameters:
internalAction
- the internal action.operationInterface
- inteface of the fc.- Returns:
- the fc required role.
-
addFCCallToSEFF
protected void addFCCallToSEFF(IWeavingInstruction instruction, org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff) Adds a FC call to a SEFF, whereby BEFORE or AFTER mean at the beginning or at the end of the whole SEFF.- Parameters:
instruction
-forkedSEFF
-
-