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
ConstructorsConstructorDescriptionCallingSEFFActionSequenceElement(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 ofDataFlowVariables that are received from the precursorbooleantoString()Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.seff.SEFFActionSequenceElement
getParameter, isBranchingMethods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.AbstractPCMActionSequenceElement
checkCallParameter, equals, getContext, getDataFlowVariables, getElement, getNodeCharacteristics, hashCodeMethods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.AbstractActionSequenceElement
createPrintableCharacteristicsList, createPrintableNodeInformation, getAllDataFlowVariables, getAllNodeCharacteristics, getDataFlowCharacteristicsWithName, getNodeCharacteristicsWithName, isEvaluatedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
isCallingin interfaceCallReturnBehavior
-
evaluateDataFlow
public AbstractActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction> evaluateDataFlow(List<DataFlowVariable> variables, AnalysisData analysisData) Description copied from class:AbstractActionSequenceElementEvaluates the Data Flow at a given sequence element given the list ofDataFlowVariables that are received from the precursor- Overrides:
evaluateDataFlowin classSEFFActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>- Parameters:
variables- List ofDataFlowVariables 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:
toStringin classSEFFActionSequenceElement<org.palladiosimulator.pcm.seff.ExternalCallAction>
-