Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
void | cancel () |
String | displayName () |
boolean | isCancelled () |
Date | startTime () |
Private Member Functions | |
DataSourceIngestModuleHandle (IngestJobPipeline ingestJobPipeline, DataSourceIngestPipeline.PipelineModule module) | |
Private Attributes | |
final boolean | cancelled |
final IngestJobPipeline | ingestJobPipeline |
final DataSourceIngestPipeline.PipelineModule | module |
A handle to a data source level ingest module that can be used to get basic information about the module and to request cancellation of the module.
Definition at line 500 of file IngestJob.java.
|
private |
Constructs a handle to a data source level ingest module that can be used to get basic information about the module and to request cancellation of the module.
ingestJobPipeline | The ingestJobPipeline that owns the data source level ingest module. |
module | The data source level ingest module. |
Definition at line 514 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.ingestJobPipeline, and org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.module.
void org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.cancel | ( | ) |
Requests cancellation of the ingest module associated with this handle. Returns immediately, but there may be a delay before the ingest module responds by stopping processing.
TODO: Cancellation needs to be more precise. The long-term solution is to add a cancel() method to IngestModule and do away with the cancellation queries of IngestJobContext. However, until an API change is legal, a cancel() method can be added to the DataSourceIngestModuleAdapter and FileIngestModuleAdapter classes and an instanceof check can be used to call it, with this code as the default implementation and the fallback. All of the ingest modules participating in this workaround will need to consult the cancelled flag in the adapters.
Definition at line 555 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.module.
String org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.displayName | ( | ) |
Gets the display name of the data source level ingest module associated with this handle.
Definition at line 526 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.module.
boolean org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.isCancelled | ( | ) |
Queries whether or not cancellation of the data source level ingest module associated with this handle has been requested.
Definition at line 546 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.cancelled.
Date org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.startTime | ( | ) |
Gets the time the data source level ingest module associated with this handle began processing.
Definition at line 536 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.module.
|
private |
Definition at line 504 of file IngestJob.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.isCancelled().
|
private |
Definition at line 502 of file IngestJob.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.DataSourceIngestModuleHandle().
|
private |
Definition at line 503 of file IngestJob.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.cancel(), org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.DataSourceIngestModuleHandle(), org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.displayName(), and org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.startTime().
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.