Class AttackPathSurface
java.lang.Object
edu.kit.ipd.sdq.attacksurface.graph.AttackPathSurface
Represents an attack path in an
AttackGraph
.-
Constructor Summary
ConstructorDescriptionAttackPathSurface
(org.jgrapht.GraphPath<ArchitectureNode, AttackEdge> path) Creates a new emptyAttackPathSurface
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
int
size()
toAttackPath
(BlackboardWrapper modelStorage, org.palladiosimulator.pcm.core.entity.Entity targetedEntity, boolean doCreateCauselessPaths) Creates an outputAttackPath
from 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 outputAttackPath
from this path.- Parameters:
modelStorage
- - the model storagetargetedEntity
- - the critical entitydoCreateCauselessPaths
- - whether a path should be created without causes (for temporary paths)- Returns:
- an
AttackPath
representing this attack path
-