Class BehaviourWeavingInstruction
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.BehaviourWeavingInstruction
- All Implemented Interfaces:
IWeavingInstruction
Models a Behaviour weaving instruction. An Behaviour weaving instruction
contains of the advice to be applied at several weaving locations and the fc
to be inserted.
-
Constructor Summary
ConstructorDescriptionBehaviourWeavingInstruction
(Pair<CompletionComponent, List<org.palladiosimulator.pcm.repository.OperationSignature>> pair, Advice advice, List<? extends IWeavingLocation> weavingLocations, InclusionMechanism inclusonMechanism) -
Method Summary
Modifier and TypeMethodDescriptionPair<CompletionComponent,
List<org.palladiosimulator.pcm.repository.OperationSignature>> List<? extends IWeavingLocation>
-
Constructor Details
-
BehaviourWeavingInstruction
public BehaviourWeavingInstruction(Pair<CompletionComponent, List<org.palladiosimulator.pcm.repository.OperationSignature>> pair, Advice advice, List<? extends IWeavingLocation> weavingLocations, InclusionMechanism inclusonMechanism) - Parameters:
advice
-weavingLocations
-
-
-
Method Details
-
getAdvice
- Specified by:
getAdvice
in interfaceIWeavingInstruction
- Returns:
- the advice
-
getWeavingLocations
- Specified by:
getWeavingLocations
in interfaceIWeavingInstruction
- Returns:
- the weavingLocations
-
getFccWithProvidedRole
public Pair<CompletionComponent,List<org.palladiosimulator.pcm.repository.OperationSignature>> getFccWithProvidedRole()- Specified by:
getFccWithProvidedRole
in interfaceIWeavingInstruction
- Returns:
- the fccWithConsumedFeatures
-
getInclusionMechanism
- Specified by:
getInclusionMechanism
in interfaceIWeavingInstruction
- Returns:
- the inclusionMechanism
-