Class PCMActionSequence
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.ActionSequence
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.PCMActionSequence
- All Implemented Interfaces:
Comparable<PCMActionSequence>
-
Field Summary
Fields inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.ActionSequence
elements
-
Constructor Summary
ConstructorDescriptionCreates a empty new action sequencePCMActionSequence
(List<AbstractActionSequenceElement<?>> elements) Creates a new action sequence with the given elementsPCMActionSequence
(AbstractActionSequenceElement<?>... elements) Creates a new action sequence with the given list of elementsPCMActionSequence
(ActionSequence sequence) Creates a copy of the given action sequencePCMActionSequence
(ActionSequence sequence, AbstractActionSequenceElement<?>... newElements) Creates a copy of the given action sequence and appends the given -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PCMActionSequence otherSequence) Return -1, when this sequence needs to be executed before the other Return 0, if the sequences can run simultaneously Return 1, if the other sequence needs to run firstevaluateDataFlow
(AnalysisData analysisData) Evaluate the data flow of the action sequence with the given analysis dataMethods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.ActionSequence
getElements, toString
-
Constructor Details
-
PCMActionSequence
public PCMActionSequence()Creates a empty new action sequence -
PCMActionSequence
Creates a new action sequence with the given elements- Parameters:
elements
- List of elements contained in the sequence
-
PCMActionSequence
Creates a new action sequence with the given list of elements- Parameters:
elements
- Elements that are contained in the sequence
-
PCMActionSequence
Creates a copy of the given action sequence- Parameters:
sequence
- Action sequence that should be copied
-
PCMActionSequence
Creates a copy of the given action sequence and appends the given- Parameters:
sequence
- Action sequence that should be copiednewElements
- Elements in the new sequence
-
-
Method Details
-
evaluateDataFlow
Description copied from class:ActionSequence
Evaluate the data flow of the action sequence with the given analysis data- Specified by:
evaluateDataFlow
in classActionSequence
- Parameters:
analysisData
- Analysis data needed for evaluation- Returns:
-
getProvidedDatabases
-
getRequiredDatabases
-
compareTo
Return -1, when this sequence needs to be executed before the other Return 0, if the sequences can run simultaneously Return 1, if the other sequence needs to run first- Specified by:
compareTo
in interfaceComparable<PCMActionSequence>
-