Interface GenericScanner

  • All Superinterfaces:
    java.lang.Runnable
    All Known Implementing Classes:
    ScanThread, SpiderThread

    public interface GenericScanner
    extends java.lang.Runnable
    • 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()
      • 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 the 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.
        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)