Autopsy
4.7.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 (DataSourceIngestJob job, DataSourceIngestPipeline.PipelineModule module) | |
Private Attributes | |
final boolean | cancelled |
final DataSourceIngestJob | job |
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 434 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.
job | The data source ingest job that owns the data source level ingest module. |
module | The data source level ingest module. |
Definition at line 449 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.job, 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 490 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 461 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 481 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 471 of file IngestJob.java.
References org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.module.
|
private |
Definition at line 438 of file IngestJob.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.isCancelled().
|
private |
Definition at line 436 of file IngestJob.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestJob.DataSourceIngestModuleHandle.DataSourceIngestModuleHandle().
|
private |
Definition at line 437 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-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.