"); //NON-NLS
+
+ detailsSb.append("") //NON-NLS
+ .append(NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.complete.numberOfCarved"))
+ .append(" | "); //NON-NLS
+ detailsSb.append("").append(jobTotals.totalItemsRecovered.get()).append(" |
"); //NON-NLS
+
+ detailsSb.append("") //NON-NLS
+ .append(NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.complete.totalWritetime"))
+ .append(" | ").append(jobTotals.totalWritetime.get()).append(" |
\n"); //NON-NLS
+ detailsSb.append("") //NON-NLS
+ .append(NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.complete.totalParsetime"))
+ .append(" | ").append(jobTotals.totalParsetime.get()).append(" |
\n"); //NON-NLS
+ detailsSb.append("
"); //NON-NLS
+
+ services.postMessage(IngestMessage.createMessage(
+ IngestMessage.MessageType.INFO,
+ PhotoRecCarverIngestModuleFactory.getModuleName(),
+ NbBundle.getMessage(this.getClass(),
+ "PhotoRecIngestModule.complete.photoRecResults"),
+ detailsSb.toString()));
+
+ }
/**
* @inheritDoc
*/
@Override
public void shutDown() {
- if (this.context != null && refCounter.decrementAndGet(this.context.getJobId()) == 0) {
+ if (this.context != null && refCounter.decrementAndGet(this.jobId) == 0) {
try {
// The last instance of this module for an ingest job cleans out
// the working paths map entry for the job and deletes the temp dir.
- WorkingPaths paths = PhotoRecCarverFileIngestModule.pathsByJob.remove(this.context.getJobId());
+ WorkingPaths paths = PhotoRecCarverFileIngestModule.pathsByJob.remove(this.jobId);
FileUtil.deleteDir(new File(paths.getTempDirPath().toString()));
- }
+ postSummary();
+ }
catch (SecurityException ex) {
logger.log(Level.SEVERE, "Error shutting down PhotoRec carver module", ex); // NON-NLS
}
diff --git a/Core/src/org/sleuthkit/autopsy/timeline/ui/TimeLineChart.java b/Core/src/org/sleuthkit/autopsy/timeline/ui/TimeLineChart.java
index d02da89609..28230d4dc2 100644
--- a/Core/src/org/sleuthkit/autopsy/timeline/ui/TimeLineChart.java
+++ b/Core/src/org/sleuthkit/autopsy/timeline/ui/TimeLineChart.java
@@ -251,8 +251,8 @@ public interface TimeLineChart