java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.ActionSequence
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.PCMActionSequence
All Implemented Interfaces:
Comparable<PCMActionSequence>

public class PCMActionSequence extends ActionSequence implements Comparable<PCMActionSequence>
  • Constructor Details

    • PCMActionSequence

      public PCMActionSequence()
      Creates a empty new action sequence
    • PCMActionSequence

      public PCMActionSequence(List<AbstractActionSequenceElement<?>> elements)
      Creates a new action sequence with the given elements
      Parameters:
      elements - List of elements contained in the sequence
    • PCMActionSequence

      public PCMActionSequence(AbstractActionSequenceElement<?>... elements)
      Creates a new action sequence with the given list of elements
      Parameters:
      elements - Elements that are contained in the sequence
    • PCMActionSequence

      public PCMActionSequence(ActionSequence sequence)
      Creates a copy of the given action sequence
      Parameters:
      sequence - Action sequence that should be copied
    • PCMActionSequence

      public PCMActionSequence(ActionSequence sequence, AbstractActionSequenceElement<?>... newElements)
      Creates a copy of the given action sequence and appends the given
      Parameters:
      sequence - Action sequence that should be copied
      newElements - Elements in the new sequence
  • Method Details

    • evaluateDataFlow

      public ActionSequence evaluateDataFlow(AnalysisData analysisData)
      Description copied from class: ActionSequence
      Evaluate the data flow of the action sequence with the given analysis data
      Specified by:
      evaluateDataFlow in class ActionSequence
      Parameters:
      analysisData - Analysis data needed for evaluation
      Returns:
    • getProvidedDatabases

      public List<String> getProvidedDatabases()
    • getRequiredDatabases

      public List<String> getRequiredDatabases()
    • compareTo

      public int 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 first
      Specified by:
      compareTo in interface Comparable<PCMActionSequence>