Class SEFFActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>

Direct Known Subclasses:
CallingSEFFActionSequenceElement

public class SEFFActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction> extends AbstractPCMActionSequenceElement<T>
  • Constructor Details

    • SEFFActionSequenceElement

      public SEFFActionSequenceElement(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, List<org.palladiosimulator.pcm.repository.Parameter> parameter)
      Construct a new SEFF Action Sequence element with the given underlying Palladio Element, AssemblyContext and a list of passed Parameter.
      Parameters:
      element - Underlying Palladio SEFF Element
      context - Assembly context of the SEFF Element
      parameter - List of parameters, that were passed to the SEFF Element
    • SEFFActionSequenceElement

      public SEFFActionSequenceElement(SEFFActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics)
      Create a new SEFF Action Sequence element using an old SEFF Action Sequence element and a updated list of dataflow variables and node characteristics
      Parameters:
      oldElement - Old SEFF Action Sequence Element
      dataFlowVariables - Updated dataflow variables
      nodeCharacteristics - Updated node characteristics
  • Method Details

    • evaluateDataFlow

      public AbstractActionSequenceElement<T> evaluateDataFlow(List<DataFlowVariable> variables, AnalysisData analysisData)
      Description copied from class: AbstractActionSequenceElement
      Evaluates the Data Flow at a given sequence element given the list of DataFlowVariables that are received from the precursor
      Specified by:
      evaluateDataFlow in class AbstractActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
      Parameters:
      variables - List of DataFlowVariables propagated from the precursor
      analysisData - Saved data and calculators of the analysis
      Returns:
      Returns a new Sequence element with the updated Node- and DataFlowVariables
    • getParameter

      public List<org.palladiosimulator.pcm.repository.Parameter> getParameter()
      Returns a list of parameters, that the SEFF was called with
      Returns:
      List of parameters present for SEFF
    • isBranching

      public boolean isBranching()
      Returns whether a SEFF Action Sequence Element (i.e. Start Action) was created due to branching behavior
      Returns:
      Returns true, if the SEFF Action was created, because branching behavior was defined. Otherwise, the method returns false.
    • toString

      public String toString()
      Specified by:
      toString in class AbstractActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>