| | 1 | = ScanReport = |
| | 2 | |
| | 3 | == Java Interface == |
| | 4 | {{{ |
| | 5 | /** |
| | 6 | * A ScanReport instance contains statistics about the last performed or |
| | 7 | * currently active scan procedure of a DataCrawler. |
| | 8 | */ |
| | 9 | public interface ScanReport { |
| | 10 | |
| | 11 | /** |
| | 12 | * Returns when the scan was started, encoded in the typical milliseconds style. |
| | 13 | */ |
| | 14 | public long getScanStarted(); |
| | 15 | |
| | 16 | /** |
| | 17 | * Returns when the scan stopped. Returns a negative value when the scan |
| | 18 | * is still in progress. |
| | 19 | */ |
| | 20 | public long getScanStopped(); |
| | 21 | |
| | 22 | /** |
| | 23 | * Returns the status with which the scan completed. Returns null when the |
| | 24 | * scan is still in progress. |
| | 25 | */ |
| | 26 | public ExitCode getExitCode(); |
| | 27 | |
| | 28 | /** |
| | 29 | * Returns the number of new data objects encountered so far. |
| | 30 | */ |
| | 31 | public int getNewCount(); |
| | 32 | |
| | 33 | /** |
| | 34 | * Returns the number of changed data objects encountered so far. |
| | 35 | */ |
| | 36 | public int getChangedCount(); |
| | 37 | |
| | 38 | /** |
| | 39 | * Returns the number of removed data objects encountered so far. |
| | 40 | */ |
| | 41 | public int getRemovedCount(); |
| | 42 | |
| | 43 | /** |
| | 44 | * Returns the number of unchanged data objects encountered so far. |
| | 45 | */ |
| | 46 | public int getUnchangedCount(); |
| | 47 | } |
| | 48 | }}} |