Autopsy  3.1
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

Classes

enum  DataSourceProcessorResult
 

Public Member Functions

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

Detailed Description

Abstract class for a callback for a DataSourceProcessor.

Ensures that DSP invokes the caller overridden method, doneEDT(), in the EDT thread.

Definition at line 32 of file DataSourceProcessorCallback.java.

Member Function Documentation

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

Called by a DSP implementation when it is done adding a data source to the database. Users of the DSP can override this method if they do not want to be notified on the EDT. Otherwise, this method will call doneEDT() with the same arguments.

Parameters
resultCode for status
errListList of error strings
newContentsList of root Content objects that were added to database. Typically only one is given.

Definition at line 50 of file DataSourceProcessorCallback.java.

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

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

Called by done() if the default implementation is used. Users of DSPs that have UI updates to do after the DSP is finished adding the DS can implement this method to receive the updates on the EDT.

Parameters
resultCode for status
errListList of error strings
newContentsList of root Content objects that were added to database. Typically only one is given.

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


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

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.