Class CallingSEFFActionSequenceElement
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<org.palladiosimulator.pcm.seff.ExternalCallAction>
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.seff.CallingSEFFActionSequenceElement
- All Implemented Interfaces:
CallReturnBehavior
public class CallingSEFFActionSequenceElement
extends SEFFActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>
implements CallReturnBehavior
-
Constructor Summary
ConstructorDescriptionCallingSEFFActionSequenceElement
(CallingSEFFActionSequenceElement oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Constructs a new SEFF Action Sequence element given an old element and a list of updated dataflow variables and node characteristicsCallingSEFFActionSequenceElement
(org.palladiosimulator.pcm.seff.ExternalCallAction element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, List<org.palladiosimulator.pcm.repository.Parameter> parameter, boolean isCalling) Creates a new SEFF Action Sequence Element with an underlying Palladio Element, Assembly Context, List of present parameter and indication whether the SEFF Action is calling -
Method Summary
Modifier and TypeMethodDescriptionAbstractActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>
evaluateDataFlow
(List<DataFlowVariable> variables, AnalysisData analysisData) Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursorboolean
toString()
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.seff.SEFFActionSequenceElement
getParameter, isBranching
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.palladiosimulator.dataflow.confidentiality.analysis.entity.CallReturnBehavior
isReturning
-
Constructor Details
-
CallingSEFFActionSequenceElement
public CallingSEFFActionSequenceElement(org.palladiosimulator.pcm.seff.ExternalCallAction element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, List<org.palladiosimulator.pcm.repository.Parameter> parameter, boolean isCalling) Creates a new SEFF Action Sequence Element with an underlying Palladio Element, Assembly Context, List of present parameter and indication whether the SEFF Action is calling- Parameters:
element
- Underlying Palladio Elementcontext
- Assembly Context of the SEFFparameter
- List of Parameters that are available for the calling SEFFisCalling
- Is true, when another method is called. Otherwise, a called method is returned from
-
CallingSEFFActionSequenceElement
public CallingSEFFActionSequenceElement(CallingSEFFActionSequenceElement oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Constructs a new SEFF Action Sequence element given an old element and a list of updated dataflow variables and node characteristics- Parameters:
oldElement
- Old element, which attributes are copieddataFlowVariables
- List of updated data flow variablesnodeCharacteristics
- List of updated node characteristics
-
-
Method Details
-
isCalling
public boolean isCalling()- Specified by:
isCalling
in interfaceCallReturnBehavior
-
evaluateDataFlow
public AbstractActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction> 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- Overrides:
evaluateDataFlow
in classSEFFActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>
- 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
-
toString
- Overrides:
toString
in classSEFFActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>
-