|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.admin.CrawlJobHandler
org.archive.crawler.selftest.SelfTestCrawlJobHandler
public class SelfTestCrawlJobHandler
An override to gain access to end-of-crawljob message.
| Field Summary |
|---|
| Fields inherited from class org.archive.crawler.admin.CrawlJobHandler |
|---|
DEFAULT_PROFILE, DEFAULT_PROFILE_NAME, ORDER_FILE_NAME, PROFILES_DIR_NAME, RECOVER_LOG |
| Constructor Summary | |
|---|---|
SelfTestCrawlJobHandler(java.io.File jobsDir,
java.lang.String selfTestName,
java.lang.String url)
|
|
| Method Summary | |
|---|---|
void |
crawledURIDisregard(CrawlURI curi)
Notification of a crawled URI that is to be disregarded. |
void |
crawledURIFailure(CrawlURI curi)
Notification of a failed crawling of a URI. |
void |
crawledURINeedRetry(CrawlURI curi)
Notification of a failed crawl of a URI that will be retried (failure due to possible transient problems). |
void |
crawledURISuccessful(CrawlURI curi)
Notification of a successfully crawled URI |
void |
crawlEnded(java.lang.String sExitMessage)
Called when a CrawlController has ended a crawl and is about to exit. |
void |
crawlStarted(java.lang.String message)
Called on crawl start. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelfTestCrawlJobHandler(java.io.File jobsDir,
java.lang.String selfTestName,
java.lang.String url)
| Method Detail |
|---|
public void crawlStarted(java.lang.String message)
CrawlStatusListener
crawlStarted in interface CrawlStatusListenercrawlStarted in class CrawlJobHandlermessage - Start message.public void crawlEnded(java.lang.String sExitMessage)
CrawlStatusListener
crawlEnded in interface CrawlStatusListenercrawlEnded in class CrawlJobHandlersExitMessage - Type of exit. Should be one of the STATUS constants
in defined in CrawlJob.CrawlJobpublic void crawledURIDisregard(CrawlURI curi)
CrawlURIDispositionListener
crawledURIDisregard in interface CrawlURIDispositionListenercuri - The relevant CrawlURIpublic void crawledURIFailure(CrawlURI curi)
CrawlURIDispositionListener
crawledURIFailure in interface CrawlURIDispositionListenercuri - The relevant CrawlURIpublic void crawledURINeedRetry(CrawlURI curi)
CrawlURIDispositionListener
crawledURINeedRetry in interface CrawlURIDispositionListenercuri - The relevant CrawlURIpublic void crawledURISuccessful(CrawlURI curi)
CrawlURIDispositionListener
crawledURISuccessful in interface CrawlURIDispositionListenercuri - The relevant CrawlURI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||