Class SEFFActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.AbstractActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.AbstractPCMActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.seff.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, AnalysisData analysisData) Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursorList<org.palladiosimulator.pcm.repository.Parameter>
Returns a list of parameters, that the SEFF was called withboolean
Returns whether a SEFF Action Sequence Element (i.e.toString()
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.AbstractPCMActionSequenceElement
checkCallParameter, equals, getContext, getDataFlowVariables, getElement, getNodeCharacteristics, hashCode
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.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
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 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 precursoranalysisData
- Saved data and calculators of the analysis- Returns:
- Returns a new Sequence element with the updated Node- and DataFlowVariables
-
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
- Specified by:
toString
in classAbstractActionSequenceElement<T extends org.palladiosimulator.pcm.seff.AbstractAction>
-