Expose process unallocated space setting through IngestJobContext

This commit is contained in:
Richard Cordovano 2014-09-25 11:21:46 -04:00
parent 53d51db52f
commit dac0b4782d

View File

@ -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.