Interface Attack
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
- All Known Subinterfaces:
CategoryAttack<T>
,CVEAttack
,CWEAttack
- All Known Implementing Classes:
AttackImpl
,CategoryAttackImpl
,CategoryAttackImplGen
,CVEAttackImpl
,CVEAttackImplGen
,CWEAttackImpl
,CWEAttackImplGen
public interface Attack extends org.palladiosimulator.pcm.core.entity.Entity
A representation of the model object 'Attack'.- See Also:
AttackSpecificationPackage.getAttack()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canExploit(Vulnerability vulnerability, ContextSet credentialsAttacker, ContextSet credentialsNeeded, AttackVector attackVector)
Checks whether the attack can exploit the givenVulnerability
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
canExploit
boolean canExploit(Vulnerability vulnerability, ContextSet credentialsAttacker, ContextSet credentialsNeeded, AttackVector attackVector)
Checks whether the attack can exploit the givenVulnerability
- Parameters:
vulnerability
- Vulnerability to check- Returns:
- Boolean true if attack can exploit vulnerability else false
- Generated class or method.
- EMF model class or method.
-
-