public interface PluggableCrawler
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllCrawls()
Stop all crawls and clear the crawl queue managed by this crawler
|
void |
disable(boolean abortCrawling)
disable this crawler clearing any queued crawls.
|
PluggableCrawl |
getCrawl(String crawlId)
Get a Crawl for a given crawl id.
|
CrawlerConfig |
getCrawlerConfig()
Return the configuration for this crawler
|
String |
getCrawlerId()
Return the unique Id for this crawler.
|
boolean |
isCrawlerEnabled()
is this crawler enabled
|
PluggableCrawl |
requestCrawl(org.lockss.plugin.ArchivalUnit au,
org.lockss.util.rest.crawler.CrawlJob crawlJob) |
void |
setPluggableCrawlManager(PluggableCrawlManager pluggableCrawlManager)
Set the Crawl Manager which created and maintains this crawler.
|
void |
shutdown()
Shutdown the crawler.
|
PluggableCrawl |
stopCrawl(String crawlId)
Stop a crawl a specific crawl
|
void |
updateCrawlerConfig(CrawlerConfig crawlerConfig)
set the configuration parameters for this crawler
|
String getCrawlerId()
void updateCrawlerConfig(CrawlerConfig crawlerConfig)
crawlerConfig - the configuration parameters to useCrawlerConfig getCrawlerConfig()
PluggableCrawl requestCrawl(org.lockss.plugin.ArchivalUnit au, org.lockss.util.rest.crawler.CrawlJob crawlJob)
PluggableCrawl stopCrawl(String crawlId)
crawlId - The crawl id of the crawl to stopPluggableCrawl getCrawl(String crawlId)
crawlId - The crawl id of the crawl to stopvoid deleteAllCrawls()
boolean isCrawlerEnabled()
void shutdown()
void disable(boolean abortCrawling)
abortCrawling - abort the currently running crawls.void setPluggableCrawlManager(PluggableCrawlManager pluggableCrawlManager)
pluggableCrawlManager - Copyright © 2000–2023 LOCKSS Program. All rights reserved.