Class SEFFActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.AbstractActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.AbstractPCMActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.SEFFActionSequenceElement<T>
- Direct Known Subclasses:
CallingSEFFActionSequenceElement
public class SEFFActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
extends AbstractPCMActionSequenceElement<T>
-
Constructor Summary
ConstructorDescriptionSEFFActionSequenceElement
(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 characteristicsSEFFActionSequenceElement
(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 passedParameter
. -
Method Summary
Modifier and TypeMethodDescriptionevaluateDataFlow
(List<DataFlowVariable> variables) Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursorprotected List<CharacteristicValue>
Returns a list of Characteristic values that are present at the node using thePCMNodeCharacteristicsCalculator
List<org.palladiosimulator.pcm.repository.Parameter>
Returns a list of parameters, that the SEFF was called withtoString()
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.AbstractPCMActionSequenceElement
equals, getContext, getElement, hashCode
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.AbstractActionSequenceElement
createPrintableCharacteristicsList, createPrintableNodeInformation, getAllDataFlowVariables, getAllNodeCharacteristics, getDataFlowCharacteristicsWithName, getNodeCharacteristicsWithName, isEvaluated
-
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 passedParameter
.- Parameters:
element
- Underlying Palladio SEFF Elementcontext
- Assembly context of the SEFF Elementparameter
- 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 ElementdataFlowVariables
- Updated dataflow variablesnodeCharacteristics
- Updated node characteristics
-
-
Method Details
-
evaluateDataFlow
Description copied from class:AbstractActionSequenceElement
Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursor- Specified by:
evaluateDataFlow
in classAbstractActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
- Parameters:
variables
- List ofDataFlowVariable
s propagated from the precursor- Returns:
- Returns a new Sequence element with the updated Node- and DataFlowVariables
-
evaluateNodeCharacteristics
Returns a list of Characteristic values that are present at the node using thePCMNodeCharacteristicsCalculator
- Returns:
- List of Characteristic values present at node
-
getParameter
Returns a list of parameters, that the SEFF was called with- Returns:
- List of parameters present for SEFF
-
toString
- Specified by:
toString
in classAbstractActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
-