Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | List of all members
org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback Class Referenceabstract

Inherited by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback, and org.sleuthkit.autopsy.modules.vmextractor.VMExtractorIngestModule.AddDataSourceCallback.

Classes

enum  DataSourceProcessorResult
 

Public Member Functions

void done (DataSourceProcessorResult result, List< String > errList, List< Content > newDataSources)
 
abstract void doneEDT (DataSourceProcessorResult result, List< String > errList, List< Content > newDataSources)
 

Detailed Description

An abstract base class for callback objects to be given to data source processors for use by the background tasks that add data sources to a case database. The callback objects are used to signal task completion and return results.

Concrete implementations of DataSourceProcessorCallback should override either the done method or the doneEDT method, but not both.

Definition at line 34 of file DataSourceProcessorCallback.java.

Member Function Documentation

void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done ( DataSourceProcessorResult  result,
List< String >  errList,
List< Content >  newDataSources 
)
abstract void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.doneEDT ( DataSourceProcessorResult  result,
List< String >  errList,
List< Content >  newDataSources 
)
abstract

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.

Parameters
resultResult code.
errListList of error messages, possibly empty.
newDataSourcesA list of the data sources added, empty if critical errors occurred or processing was successfully cancelled.

Referenced by org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done().


The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.