Class AttackPathSurface

java.lang.Object
edu.kit.ipd.sdq.attacksurface.graph.AttackPathSurface

public class AttackPathSurface extends Object
Represents an attack path in an AttackGraph.
  • Constructor Details

  • Method Details

    • size

      public int size()
      Returns:
      the size of the path edge list, i.e. the count of edges
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toAttackPath

      public AttackPath toAttackPath(BlackboardWrapper modelStorage, org.palladiosimulator.pcm.core.entity.Entity targetedEntity, boolean doCreateCauselessPaths)
      Creates an output AttackPath from this path.
      Parameters:
      modelStorage - - the model storage
      targetedEntity - - the critical entity
      doCreateCauselessPaths - - whether a path should be created without causes (for temporary paths)
      Returns:
      an AttackPath representing this attack path