Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.
Public Member Functions | |
AddDataSourceCallback (Case caseForJob, AutoIngestDataSource dataSourceInfo, UUID taskId, Object lock) | |
void | done (DataSourceProcessorResult result, List< String > errList, List< Content > newDataSources) |
void | done (DataSourceProcessorCallback.DataSourceProcessorResult result, List< String > errorMessages, List< Content > dataSourceContent) |
abstract void | doneEDT (DataSourceProcessorResult result, List< String > errList, List< Content > newDataSources) |
void | doneEDT (DataSourceProcessorCallback.DataSourceProcessorResult result, List< String > errorMessages, List< Content > dataSources) |
Private Attributes | |
final Case | caseForJob |
final AutoIngestDataSource | dataSourceInfo |
final Object | lock |
final UUID | taskId |
A "callback" that collects the results of running a data source processor on a data source and unblocks the job processing thread when the data source processor finishes running in its own thread.
Definition at line 35 of file AddDataSourceCallback.java.
org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.AddDataSourceCallback | ( | Case | caseForJob, |
AutoIngestDataSource | dataSourceInfo, | ||
UUID | taskId, | ||
Object | lock | ||
) |
Constructs a "callback" that collects the results of running a data source processor on a data source and unblocks the job processing thread when the data source processor finishes running in its own thread.
caseForJob | The case for the current job. |
dataSourceInfo | The data source |
taskId | The task id to associate with ingest job events. |
lock | The DSP lock |
Definition at line 52 of file AddDataSourceCallback.java.
References org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.caseForJob, org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.dataSourceInfo, org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.lock, and org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.taskId.
|
inherited |
Called by a data source processor when it is done adding a data source to the case database, this method adds a task to call the doneEDT method to the EDT task queue.
IMPORTANT: Concrete implementations of DataSourceProcessorCallback should override this method if the callback SHOULD NOT be done in the EDT.
result | Result code. |
errList | List of error messages, possibly empty. |
newDataSources | A list of the data sources added, empty if critical errors occurred or processing was successfully cancelled. |
Definition at line 69 of file DataSourceProcessorCallback.java.
References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.doneEDT().
Referenced by org.sleuthkit.autopsy.logicalimager.dsp.LogicalImagerDSProcessor.run(), and org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.run().
void org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done | ( | DataSourceProcessorCallback.DataSourceProcessorResult | result, |
List< String > | errorMessages, | ||
List< Content > | dataSourceContent | ||
) |
Called by the data source processor when it finishes running in its own thread.
result | The result code for the processing of the data source. |
errorMessages | Any error messages generated during the processing of the data source. |
dataSourceContent | The content produced by processing the data source. |
Definition at line 70 of file AddDataSourceCallback.java.
References org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.lock, org.sleuthkit.autopsy.casemodule.Case.notifyDataSourceAdded(), org.sleuthkit.autopsy.casemodule.Case.notifyFailedAddingDataSource(), org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSource.setDataSourceProcessorOutput(), and org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.taskId.
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.doneEDT().
|
abstractinherited |
Called by a data source processor when it is done adding a data source to the case database, if the default done method has not been overridden.
IMPORTANT: Concrete implementations of DataSourceProcessorCallback should override the done method and provide an implementation of this method that throws an UnsupportedOperationException if the callback SHOULD NOT be done in the EDT.
result | Result code. |
errList | List of error messages, possibly empty. |
newDataSources | A list of the data sources added, empty if critical errors occurred or processing was successfully cancelled. |
Referenced by org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done().
void org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.doneEDT | ( | DataSourceProcessorCallback.DataSourceProcessorResult | result, |
List< String > | errorMessages, | ||
List< Content > | dataSources | ||
) |
Called by the data source processor when it finishes running in its own thread, if that thread is the AWT (Abstract Window Toolkit) event dispatch thread (EDT).
result | The result code for the processing of the data source. |
errorMessages | Any error messages generated during the processing of the data source. |
dataSources | The content produced by processing the data source. |
Definition at line 95 of file AddDataSourceCallback.java.
References org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done().
|
private |
Definition at line 37 of file AddDataSourceCallback.java.
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.AddDataSourceCallback().
|
private |
Definition at line 38 of file AddDataSourceCallback.java.
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.AddDataSourceCallback().
|
private |
Definition at line 40 of file AddDataSourceCallback.java.
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.AddDataSourceCallback(), and org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done().
|
private |
Definition at line 39 of file AddDataSourceCallback.java.
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.AddDataSourceCallback(), and org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.