public class CrawlerEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
CrawlerEvent.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
CRAWLER_CLEAN_BEGIN |
static String |
CRAWLER_CLEAN_END |
static String |
CRAWLER_INIT_BEGIN
The crawler began its initialization.
|
static String |
CRAWLER_INIT_END
The crawler has been initialized.
|
static String |
CRAWLER_RUN_BEGIN
The crawler is about to begin crawling.
|
static String |
CRAWLER_RUN_END
The crawler completed crawling execution normally
(without being stopped).
|
static String |
CRAWLER_RUN_THREAD_BEGIN
The crawler just started a new crawling thread.
|
static String |
CRAWLER_RUN_THREAD_END
The crawler completed execution of a crawling thread.
|
static String |
CRAWLER_STOP_BEGIN
Issued when a request to stop the crawler has been received.
|
static String |
CRAWLER_STOP_END
Issued when a request to stop the crawler has been fully executed
(crawler stopped).
|
static String |
DOCUMENT_COMMITTED_DELETE
A document was submitted to a committer for removal.
|
static String |
DOCUMENT_COMMITTED_UPSERT
A document was submitted to a committer for upsert.
|
static String |
DOCUMENT_FETCHED
A document was successfully retrieved for processing.
|
static String |
DOCUMENT_IMPORTED
A document was imported.
|
static String |
DOCUMENT_METADATA_FETCHED
A document metadata fields were successfully retrieved.
|
static String |
DOCUMENT_POSTIMPORTED
A document post-import processor was executed properly.
|
static String |
DOCUMENT_PREIMPORTED
A document pre-import processor was executed properly.
|
static String |
DOCUMENT_PROCESSED
A document was processed (successfully or not).
|
static String |
DOCUMENT_QUEUED
A document reference was queued in the data store for processing.
|
static String |
DOCUMENT_SAVED
A document was saved.
|
static String |
REJECTED_BAD_STATUS
A document was rejected because the status obtained when trying
to obtain it was not accepted (e.g., 500 HTTP error code).
|
static String |
REJECTED_DUPLICATE
A document was rejected since another document with a different
reference was already processed with the same digital signature (
checksum).
|
static String |
REJECTED_ERROR
A document was rejected because an error occurred when processing it.
|
static String |
REJECTED_FILTER
A document was rejected by a filters.
|
static String |
REJECTED_IMPORT
A document was rejected by the Importer module.
|
static String |
REJECTED_NOTFOUND
A document was rejected because it could not be found (e.g., no longer
exists at a given location).
|
static String |
REJECTED_PREMATURE
A document could not be re-crawled because it is not yet ready to be
re-crawled.
|
static String |
REJECTED_UNMODIFIED
A document was rejected as it was not modified since
last time it was crawled.
|
source
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
CrawlDocInfo |
getCrawlDocInfo()
Gets the crawl data holding contextual information about the
crawled reference.
|
Crawler |
getSource() |
Object |
getSubject()
Gets the subject.
|
int |
hashCode() |
boolean |
isCrawlerShutdown() |
String |
toString() |
getException, getMessage, getName, is, is
public static final String CRAWLER_INIT_BEGIN
public static final String CRAWLER_INIT_END
public static final String CRAWLER_RUN_BEGIN
public static final String CRAWLER_RUN_END
public static final String CRAWLER_RUN_THREAD_BEGIN
public static final String CRAWLER_RUN_THREAD_END
public static final String CRAWLER_STOP_BEGIN
public static final String CRAWLER_STOP_END
public static final String CRAWLER_CLEAN_BEGIN
public static final String CRAWLER_CLEAN_END
public static final String REJECTED_FILTER
public static final String REJECTED_UNMODIFIED
public static final String REJECTED_DUPLICATE
public static final String REJECTED_PREMATURE
public static final String REJECTED_NOTFOUND
public static final String REJECTED_BAD_STATUS
public static final String REJECTED_IMPORT
public static final String REJECTED_ERROR
public static final String DOCUMENT_PREIMPORTED
public static final String DOCUMENT_IMPORTED
public static final String DOCUMENT_POSTIMPORTED
public static final String DOCUMENT_COMMITTED_UPSERT
public static final String DOCUMENT_COMMITTED_DELETE
public static final String DOCUMENT_METADATA_FETCHED
public static final String DOCUMENT_FETCHED
public static final String DOCUMENT_QUEUED
public static final String DOCUMENT_PROCESSED
public static final String DOCUMENT_SAVED
public CrawlDocInfo getCrawlDocInfo()
null
crawl data.public Object getSubject()
public boolean isCrawlerShutdown()
Copyright © 2014–2023 Norconex Inc.. All rights reserved.