Autopsy  4.7.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.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 
)

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.

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.

Definition at line 69 of file DataSourceProcessorCallback.java.

References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.doneEDT().

Referenced by org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.run().

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