org.semanticdesktop.aperture.crawler
Interface CrawlReport

All Known Implementing Classes:
CrawlReportBase

public interface CrawlReport

A CrawlReport instance contains statistics about the last performed or currently active crawl procedure of a Crawler.


Method Summary
 int getChangedCount()
          Returns the number of changed data objects encountered so far.
 long getCrawlStarted()
          Returns when the crawl was started, encoded in the typical milliseconds style.
 long getCrawlStopped()
          Returns when the crawl stopped.
 ExitCode getExitCode()
          Returns the status with which the crawl completed.
 Throwable getFatalErrorCause()
          Returns the Throwable that caused the fatal error during crawl.
 int getNewCount()
          Returns the number of new data objects encountered so far.
 int getRemovedCount()
          Returns the number of removed data objects encountered so far.
 int getUnchangedCount()
          Returns the number of unchanged data objects encountered so far.
 

Method Detail

getCrawlStarted

long getCrawlStarted()
Returns when the crawl was started, encoded in the typical milliseconds style.


getCrawlStopped

long getCrawlStopped()
Returns when the crawl stopped. Returns a negative value when the crawl is still in progress.


getExitCode

ExitCode getExitCode()
Returns the status with which the crawl completed. Returns null when the crawl is still in progress.


getFatalErrorCause

Throwable getFatalErrorCause()
Returns the Throwable that caused the fatal error during crawl. This value is non-null only if getExitCode() returns ExitCode.FATAL_ERROR.


getNewCount

int getNewCount()
Returns the number of new data objects encountered so far.


getChangedCount

int getChangedCount()
Returns the number of changed data objects encountered so far.


getRemovedCount

int getRemovedCount()
Returns the number of removed data objects encountered so far.


getUnchangedCount

int getUnchangedCount()
Returns the number of unchanged data objects encountered so far.



Copyright © 2010 Aperture Development Team. All Rights Reserved.