Class AttackPathSurface
java.lang.Object
edu.kit.ipd.sdq.attacksurface.graph.AttackPathSurface
Represents an attack path in an
AttackGraph.-
Constructor Summary
ConstructorsConstructorDescriptionAttackPathSurface(org.jgrapht.GraphPath<ArchitectureNode, AttackEdge> path) Creates a new emptyAttackPathSurface. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intsize()toAttackPath(BlackboardWrapper modelStorage, org.palladiosimulator.pcm.core.entity.Entity targetedEntity, boolean doCreateCauselessPaths) Creates an outputAttackPathfrom this path.toString()
-
Constructor Details
-
AttackPathSurface
Creates a new emptyAttackPathSurface.
-
-
Method Details
-
size
public int size()- Returns:
- the size of the path edge list, i.e. the count of edges
-
hashCode
public int hashCode() -
equals
-
toString
-
toAttackPath
public AttackPath toAttackPath(BlackboardWrapper modelStorage, org.palladiosimulator.pcm.core.entity.Entity targetedEntity, boolean doCreateCauselessPaths) Creates an outputAttackPathfrom this path.- Parameters:
modelStorage- - the model storagetargetedEntity- - the critical entitydoCreateCauselessPaths- - whether a path should be created without causes (for temporary paths)- Returns:
- an
AttackPathrepresenting this attack path
-