mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Merge pull request #893 from rcordovano/process_unallocated_space_flag_in_ingest_job_context
Expose process unallocated space setting through IngestJobContext
This commit is contained in:
commit
6c1b05381f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user