Class PatternThreat
java.lang.Object
be.kuleuven.cs.distrinet.sparta.core.model.Threat
be.kuleuven.cs.distrinet.sparta.core.model.PatternThreat
- All Implemented Interfaces:
IInteractionThreat,IThreat
Observable threat which contains the threat data to enable automatic updating
in SPARTA's threat analysis views.
-
Field Summary
Fields inherited from class be.kuleuven.cs.distrinet.sparta.core.model.Threat
dataFlow, matchType, message, nf, patternMatch, riskModel, threatenedElement, threatType -
Constructor Summary
ConstructorsConstructorDescriptionPatternThreat(org.eclipse.viatra.query.runtime.api.IPatternMatch x, ThreatPatternMatchMetadata meta) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class be.kuleuven.cs.distrinet.sparta.core.model.Threat
buildMatchTypeLabel, getDataFlow, getDataFlowElement, getDataFlowFrom, getDataFlowFromName, getDataFlowName, getDataFlowTo, getDataFlowToName, getLef, getMatchType, getMessage, getMitigations, getModelElement, getPatternMatch, getPotentialRisk, getRisk, getRisk_lower, getRisk_upper, getSle, getTef, getThreatenedElement, getThreatenedElementId, getThreatenedElementName, getThreatenedElementTypeName, getThreatType, getThreatTypeElement, getVulnerability, getVulnerability_lower, getVulnerability_upper, isRiskCalculated, performRiskCalculation, simpleTypeName, toString, typeAbbreviation
-
Constructor Details
-
PatternThreat
public PatternThreat(org.eclipse.viatra.query.runtime.api.IPatternMatch x, ThreatPatternMatchMetadata meta)
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceIThreat- Overrides:
getDescriptionin classThreat
-
getFullDescription
-
getThreatName
- Specified by:
getThreatNamein interfaceIThreat- Overrides:
getThreatNamein classThreat
-
getThreatTypeName
- Specified by:
getThreatTypeNamein interfaceIThreat- Overrides:
getThreatTypeNamein classThreat
-