Class ServiceEffectSpecificationWeaving

java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.ServiceEffectSpecificationWeaving
Direct Known Subclasses:
ControlFlowServiceEffectSpecificationWeaving, ExternalCallServiceEffectSpecificationWeaving, InternalActionServiceEffectSpecificationWeaving

public abstract class ServiceEffectSpecificationWeaving extends Object
This class handles weaving of the PCM abstract behavior description model (SEFF).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServiceEffectSpecificationWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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).
    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
    Applies weaving instruction on SEFF.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public abstract void weave(IWeavingInstruction instruction)
      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 position
      list - 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 -