Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask Class Reference

Inherits Runnable.

Classes

class  AnalysisStartupException
 
class  DoNothingDSPProgressMonitor
 
class  IngestJobEventListener
 

Public Member Functions

void run ()
 

Private Member Functions

 JobProcessingTask ()
 
void analyze (AutoIngestDataSource dataSource) throws AnalysisStartupException, InterruptedException
 
Long getDataSourceId (AutoIngestDataSource dataSource)
 
void logDataSourceProcessorResult (AutoIngestDataSource dataSource)
 
Case openCase (String baseCaseName) throws CaseActionException
 
void runDataSourceProcessor (Case caseForJob, AutoIngestDataSource dataSource) throws InterruptedException, AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException
 

Private Attributes

final Object ingestLock
 

Detailed Description

Definition at line 89 of file CommandLineIngestManager.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.JobProcessingTask ( )
private

Member Function Documentation

void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.analyze ( AutoIngestDataSource  dataSource) throws AnalysisStartupException, InterruptedException
private

Analyzes the data source content returned by the data source processor using the configured set of data source level and file level analysis modules.

Parameters
dataSourceThe data source to analyze.
Exceptions
AnalysisStartupExceptionif there is an error analyzing the data source.
InterruptedExceptionif the thread running the job processing task is interrupted while blocked, i.e., if auto ingest is shutting down.

Definition at line 382 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestManager.beginIngestJob(), org.sleuthkit.autopsy.commandlineingest.UserPreferences.getCommandLineModeIngestModuleContextString(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getJob(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getModuleErrors(), org.sleuthkit.autopsy.ingest.IngestJob.getSnapshot(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getStartupException(), org.sleuthkit.autopsy.ingest.IngestJobSettings.getWarnings(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.ingestLock, org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.NOT_CANCELLED, org.sleuthkit.autopsy.ingest.IngestManager.removeIngestJobEventListener(), and org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.USER_CANCELLED.

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run().

Long org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.getDataSourceId ( AutoIngestDataSource  dataSource)
private

Provides object ID of the data source by reading it from Content object.

Parameters
dataSourceDataSource object
Returns
object ID

Definition at line 234 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSource.getContent().

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run().

void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.logDataSourceProcessorResult ( AutoIngestDataSource  dataSource)
private
Case org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.openCase ( String  baseCaseName) throws CaseActionException
private
void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run ( )
void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.runDataSourceProcessor ( Case  caseForJob,
AutoIngestDataSource  dataSource 
) throws InterruptedException, AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException
private

Passes the data source for the current job through a data source processor that adds it to the case database.

Parameters
dataSourceThe data source.
Exceptions
AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorExceptionif there was a DSP processing error
InterruptedExceptionif the thread running the job processing task is interrupted while blocked, i.e., if auto ingest is shutting down.

Definition at line 277 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getOrderedListOfDataSourceProcessors(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.ingestLock, and org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.logDataSourceProcessorResult().

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run().

Member Data Documentation

final Object org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.ingestLock
private

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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.