Package org.zaproxy.zap.model
Interface GenericScanner
-
- All Superinterfaces:
java.lang.Runnable
- All Known Implementing Classes:
ScanThread
,SpiderThread
public interface GenericScanner extends java.lang.Runnable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getJustScanInScope()
javax.swing.ListModel<?>
getList()
int
getMaximum()
int
getProgress()
java.lang.String
getSite()
SiteNode
getStartNode()
boolean
isPaused()
boolean
isRunning()
boolean
isStopped()
void
pauseScan()
void
reset()
void
resumeScan()
void
setJustScanInScope(boolean scanInScope)
Sets whether the scanner is started with the nodes in scope or in context.void
setScanAsUser(User user)
void
setScanChildren(boolean scanChildren)
void
setScanContext(Context context)
Sets theContext
that should be scanned.void
setStartNode(SiteNode startNode)
void
setTechSet(TechSet techSet)
void
start()
void
stopScan()
-
-
-
Method Detail
-
stopScan
void stopScan()
-
isStopped
boolean isStopped()
-
getSite
java.lang.String getSite()
-
getProgress
int getProgress()
-
getMaximum
int getMaximum()
-
pauseScan
void pauseScan()
-
resumeScan
void resumeScan()
-
isPaused
boolean isPaused()
-
isRunning
boolean isRunning()
-
start
void start()
-
getStartNode
SiteNode getStartNode()
-
setStartNode
void setStartNode(SiteNode startNode)
-
setJustScanInScope
void setJustScanInScope(boolean scanInScope)
Sets whether the scanner is started with the nodes in scope or in context.- Parameters:
scanInScope
- the new just scan in scope- See Also:
setScanContext(Context)
-
getJustScanInScope
boolean getJustScanInScope()
-
getList
javax.swing.ListModel<?> getList()
-
reset
void reset()
-
setScanChildren
void setScanChildren(boolean scanChildren)
-
setScanContext
void setScanContext(Context context)
Sets theContext
that should be scanned. The value should be used only ifJustScanInScope
is enabled. If thejustScanInScope
property is set, when the scan is started, it should be scan all the nodes in scope, if this StartContext isnull
, or all the nodes in context, if this StartContext is not null.- Parameters:
context
- the new scan context. If null, the scan will be run for all the nodes in scope.- See Also:
setJustScanInScope(boolean)
,getJustScanInScope()
-
setScanAsUser
void setScanAsUser(User user)
-
setTechSet
void setTechSet(TechSet techSet)
-
-