diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobContext.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobContext.java index 05283ece58..3f41e614a2 100755 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobContext.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobContext.java @@ -35,9 +35,9 @@ public final class IngestJobContext { IngestJobContext(IngestJob ingestJob) { this.ingestJob = ingestJob; } - + /** - * + * * @return The data source that this ingest job is associated with. */ public Content getDataSource() { @@ -63,6 +63,16 @@ public final class IngestJobContext { return this.ingestJob.isCancelled(); } + /** + * Checks whether or not the ingest job includes processing of unallocated + * space. + * + * @return True if unallocated space will be processed, false otherwise. + */ + public boolean processingUnallocatedSpace() { + return this.ingestJob.shouldProcessUnallocatedSpace(); + } + /** * Adds one or more files to the files to be passed through the file ingest * pipeline of the ingest job associated with the current context.