|
Autopsy
4.22.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.
Public Member Functions | |
| 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 > dataSourceContent) |
| List< Content > | getDataSourceContent () |
| List< String > | getErrorMessages () |
| DataSourceProcessorResult | getResult () |
Private Member Functions | |
| ProcessorCallback (Object monitor) | |
Private Attributes | |
| final List< Content > | dataSourceContent = new ArrayList<>() |
| final List< String > | errorMessages = new ArrayList<>() |
| final Object | monitor |
| DataSourceProcessorResult | result |
A data source processor "callback" that collects the results of running a data source processor on a data source and unblocks the caller's thread when the data source processor finishes running in its own thread.
Definition at line 60 of file DataSourceProcessorRunner.java.
|
private |
Constructs a data source processor "callback" that collects the results of running a data source processor on a data source and unblocks the caller's thread when the data source processor finishes running in its own thread.
| monitor | A monitor for the callback to signal when the data source processor completes its processing. |
Definition at line 76 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.monitor.
|
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.casemodule.ImageDSProcessor.doAddImageProcess(), org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.XRYReportProcessorSwingWorker.done(), org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.process(), org.sleuthkit.autopsy.casemodule.ImageDSProcessor.process(), org.sleuthkit.autopsy.casemodule.ImageDSProcessor.processWithIngestStream(), org.sleuthkit.autopsy.logicalimager.dsp.LogicalImagerDSProcessor.run(), org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.run(), org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.run(), org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run(), org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.run(), and org.sleuthkit.autopsy.casemodule.ImageDSProcessor.runWithIngestStream().
| void org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.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 92 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.monitor, and org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.result.
Referenced by org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.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.testutils.DataSourceProcessorRunner.ProcessorCallback.doneEDT | ( | DataSourceProcessorCallback.DataSourceProcessorResult | result, |
| List< String > | errorMessages, | ||
| List< Content > | dataSourceContent | ||
| ) |
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. |
| dataSourceContent | The content produced by processing the data source. |
Definition at line 114 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.done().
| List<Content> org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getDataSourceContent | ( | ) |
Gets any data source Content objects produced by the data source processor.
Definition at line 133 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.dataSourceContent.
| List<String> org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getErrorMessages | ( | ) |
Gets any error messages emitted by the data source processor.
Definition at line 123 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.errorMessages.
| DataSourceProcessorResult org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getResult | ( | ) |
Gets the result of the data source processor run.
Definition at line 142 of file DataSourceProcessorRunner.java.
References org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.result.
|
private |
Definition at line 64 of file DataSourceProcessorRunner.java.
Referenced by org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getDataSourceContent().
|
private |
Definition at line 63 of file DataSourceProcessorRunner.java.
Referenced by org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getErrorMessages().
|
private |
|
private |
Definition at line 65 of file DataSourceProcessorRunner.java.
Referenced by org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.done(), and org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProcessorCallback.getResult().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.