public interface GenericScanner extends Runnable
Modifier and Type | Method and Description |
---|---|
boolean |
getJustScanInScope() |
ListModel<?> |
getList() |
int |
getMaximum() |
int |
getProgress() |
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 the
Context that should be scanned. |
void |
setStartNode(SiteNode startNode) |
void |
setTechSet(TechSet techSet) |
void |
start() |
void |
stopScan() |
void stopScan()
boolean isStopped()
String getSite()
int getProgress()
int getMaximum()
void pauseScan()
void resumeScan()
boolean isPaused()
boolean isRunning()
void start()
SiteNode getStartNode()
void setStartNode(SiteNode startNode)
void setJustScanInScope(boolean scanInScope)
scanInScope
- the new just scan in scopesetScanContext(Context)
boolean getJustScanInScope()
ListModel<?> getList()
void reset()
void setScanChildren(boolean scanChildren)
void setScanContext(Context context)
Context
that should be scanned. The value should be used only if JustScanInScope
is enabled. If the justScanInScope
property is set, when the scan is
started, it should be scan all the nodes in scope, if this StartContext is null
,
or all the nodes in context, if this StartContext is not null.context
- the new scan context. If null, the scan will be run for all the nodes in
scope.setJustScanInScope(boolean)
,
getJustScanInScope()
void setScanAsUser(User user)
void setTechSet(TechSet techSet)