Class PCMNodeCharacteristicsCalculator
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.characteristics.node.PCMNodeCharacteristicsCalculator
- All Implemented Interfaces:
NodeCharacteristicsCalculator
public class PCMNodeCharacteristicsCalculator
extends Object
implements NodeCharacteristicsCalculator
-
Constructor Summary
ConstructorDescriptionPCMNodeCharacteristicsCalculator
(ResourceLoader resourceLoader) Creates a new node characteristic calculator with the given node -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkCharacteristics
(List<org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.characteristics.EnumCharacteristic> characteristics) Determines, whether the given list of enum characteristics is permissiblegetNodeCharacteristics
(org.palladiosimulator.pcm.core.entity.Entity node, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
-
Constructor Details
-
PCMNodeCharacteristicsCalculator
Creates a new node characteristic calculator with the given node- Parameters:
node
- Node of which the characteristics should be calculated. Should either be a User or SEFF Action.
-
-
Method Details
-
getNodeCharacteristics
public List<CharacteristicValue> getNodeCharacteristics(org.palladiosimulator.pcm.core.entity.Entity node, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context) - Specified by:
getNodeCharacteristics
in interfaceNodeCharacteristicsCalculator
-
checkCharacteristics
public void checkCharacteristics(List<org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.characteristics.EnumCharacteristic> characteristics) Determines, whether the given list of enum characteristics is permissible- Parameters:
characteristics
- List of enum characteristics that should be checked
-