|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Base interface for a result receiver.
Please note: This interface doesn't define any result methods, therefore
one has to implement either ICrawlerListResultReceiver or
ICrawlerPushedResultReceiver to get the results.
Copyright 2004 SAP AG
| Method Summary | |
IResourceContext |
getCrawlerContext()
Deprecated. Called by the crawler to get a context to use for accessing the resources during the crawl. |
java.lang.String |
getCrawlerName(java.util.Locale locale)
Deprecated. Called to get an descriptive name for the crawler. |
WcmException |
onCrawlException(java.lang.Exception exception,
IResource resource)
Deprecated. Called by the crawler when an exception occured during the crawl. |
boolean |
onCrawlStart(ICrawler crawler)
Deprecated. Called by the crawler to signal the start of a crawl. |
boolean |
onCrawlStop()
Deprecated. Called by the crawler to signal the end of a crawl. |
| Method Detail |
public java.lang.String getCrawlerName(java.util.Locale locale)
String with the crawlers name.public IResourceContext getCrawlerContext()
IResourceContext with the context to use or
null if the context cannot be retrieved.
A null will stop the crawler!
public WcmException onCrawlException(java.lang.Exception exception,
IResource resource)
onCrawlStart and
onCrawlStop.exception - a Exception with the original exception.resource - the IResource which caused the exception, if
available, or null.WcmException with the exception to throw (will stop
the crawl or null if the exception should be ignored.public boolean onCrawlStart(ICrawler crawler)
crawler - the ICrawler which performs the crawl.boolean true if the crawl should be
performed, false if the result receiver want's to
stop this crawl.public boolean onCrawlStop()
boolean true if the crawled resources
should be discarded, false if the delta list should
be kept.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||