Class BehaviourWeavingInstruction
- java.lang.Object
-
- edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.BehaviourWeavingInstruction
-
- All Implemented Interfaces:
IWeavingInstruction
public class BehaviourWeavingInstruction extends Object implements 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
Constructors Constructor Description BehaviourWeavingInstruction(Pair<CompletionComponent,List<org.palladiosimulator.pcm.repository.OperationSignature>> pair, Advice advice, List<? extends IWeavingLocation> weavingLocations, InclusionMechanism inclusonMechanism)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Advice
getAdvice()
Pair<CompletionComponent,List<org.palladiosimulator.pcm.repository.OperationSignature>>
getFccWithProvidedRole()
InclusionMechanism
getInclusionMechanism()
List<? extends IWeavingLocation>
getWeavingLocations()
-
-
-
Constructor Detail
-
BehaviourWeavingInstruction
public BehaviourWeavingInstruction(Pair<CompletionComponent,List<org.palladiosimulator.pcm.repository.OperationSignature>> pair, Advice advice, List<? extends IWeavingLocation> weavingLocations, InclusionMechanism inclusonMechanism)
- Parameters:
advice
-weavingLocations
-
-
-
Method Detail
-
getAdvice
public Advice getAdvice()
- Specified by:
getAdvice
in interfaceIWeavingInstruction
- Returns:
- the advice
-
getWeavingLocations
public List<? extends IWeavingLocation> 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
public InclusionMechanism getInclusionMechanism()
- Specified by:
getInclusionMechanism
in interfaceIWeavingInstruction
- Returns:
- the inclusionMechanism
-
-