Class AbstractPCMActionSequenceElement<T extends org.palladiosimulator.pcm.core.entity.Entity>
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.AbstractActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.AbstractPCMActionSequenceElement<T>
- Direct Known Subclasses:
DatabaseActionSequenceElement
,SEFFActionSequenceElement
,UserActionSequenceElement
public abstract class AbstractPCMActionSequenceElement<T extends org.palladiosimulator.pcm.core.entity.Entity>
extends AbstractActionSequenceElement<T>
-
Constructor Summary
ConstructorDescriptionAbstractPCMActionSequenceElement
(AbstractPCMActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Builds a new Sequence element with an existing element and a list of Node and DataFlow variablesAbstractPCMActionSequenceElement
(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context) Constructs a new Action Sequence Element with the underlying Palladio Element and Assembly Context -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkCallParameter
(org.palladiosimulator.pcm.repository.OperationSignature callSigniture, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations) Checks the parameters to the call signature for characterizations that have no impact on the results at allboolean
Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext>
Returns the assembly contexts of the sequence elementprotected List<DataFlowVariable>
getDataFlowVariables
(AnalysisData analysisData, List<CharacteristicValue> nodeCharacteristics, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations, List<DataFlowVariable> oldDataFlowVariables) Calculate the data characteristics for the sequence element with the given analysis dataReturn the saved element of the sequence elementprotected List<CharacteristicValue>
getNodeCharacteristics
(AnalysisData analysisData) Calculate the node characteristics for the sequence element with the given analysis dataint
hashCode()
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.AbstractActionSequenceElement
createPrintableCharacteristicsList, createPrintableNodeInformation, evaluateDataFlow, getAllDataFlowVariables, getAllNodeCharacteristics, getDataFlowCharacteristicsWithName, getNodeCharacteristicsWithName, isEvaluated, toString
-
Constructor Details
-
AbstractPCMActionSequenceElement
public AbstractPCMActionSequenceElement(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context) Constructs a new Action Sequence Element with the underlying Palladio Element and Assembly Context- Parameters:
element
- Underlying Palladio Element of the Sequence Elementcontext
- Assembly context of the Palladio Element
-
AbstractPCMActionSequenceElement
public AbstractPCMActionSequenceElement(AbstractPCMActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Builds a new Sequence element with an existing element and a list of Node and DataFlow variables- Parameters:
oldElement
- Old element, which element and context should be copieddataFlowVariables
- DataFlow variables, which should be present for the action sequence elementnodeCharacteristics
- Node characteristics, which should be present for the action sequence element
-
-
Method Details
-
getNodeCharacteristics
Calculate the node characteristics for the sequence element with the given analysis data- Parameters:
analysisData
- Analysis data containing the node characteristics calculator- Returns:
- Returns a list of node characteristics that are applied to the sequence element
-
getDataFlowVariables
protected List<DataFlowVariable> getDataFlowVariables(AnalysisData analysisData, List<CharacteristicValue> nodeCharacteristics, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations, List<DataFlowVariable> oldDataFlowVariables) Calculate the data characteristics for the sequence element with the given analysis data- Parameters:
analysisData
- Analysis data containing the node characteristics calculator- Returns:
- Returns a list of data characteristics that are applied to the sequence element
-
checkCallParameter
protected void checkCallParameter(org.palladiosimulator.pcm.repository.OperationSignature callSigniture, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations) Checks the parameters to the call signature for characterizations that have no impact on the results at all- Parameters:
callSigniture
- Call Signature of the callvariableCharacterisations
- Variable characterizations that are applied to the sequence element
-
getElement
Return the saved element of the sequence element- Returns:
-
getContext
Returns the assembly contexts of the sequence element- Returns:
- Returns a
Deque
ofAssemblyContext
s that the sequence element has
-
hashCode
public int hashCode() -
equals
-