mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Expose process unallocated space setting through IngestJobContext
This commit is contained in:
parent
53d51db52f
commit
dac0b4782d
@ -35,9 +35,9 @@ public final class IngestJobContext {
|
|||||||
IngestJobContext(IngestJob ingestJob) {
|
IngestJobContext(IngestJob ingestJob) {
|
||||||
this.ingestJob = ingestJob;
|
this.ingestJob = ingestJob;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return The data source that this ingest job is associated with.
|
* @return The data source that this ingest job is associated with.
|
||||||
*/
|
*/
|
||||||
public Content getDataSource() {
|
public Content getDataSource() {
|
||||||
@ -63,6 +63,16 @@ public final class IngestJobContext {
|
|||||||
return this.ingestJob.isCancelled();
|
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
|
* 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.
|
* pipeline of the ingest job associated with the current context.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user