Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.testutils.IngestJobRunner Class Reference


class  IngestJobCompletionListener

Static Public Member Functions

static List< IngestModuleErrorrunIngestJob (Collection< Content > dataSources, IngestJobSettings settings) throws InterruptedException

Private Member Functions

 IngestJobRunner ()

Static Private Attributes

static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.COMPLETED, IngestManager.IngestJobEvent.CANCELLED)

Detailed Description

A utility that runs an ingest job, blocking until the job is completed.

Definition at line 39 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.testutils.IngestJobRunner.IngestJobRunner ( )

IngestRunner instances cannot be instantiated.

Definition at line 78 of file

Member Function Documentation

static List<IngestModuleError> org.sleuthkit.autopsy.testutils.IngestJobRunner.runIngestJob ( Collection< Content >  dataSources,
IngestJobSettings  settings 
) throws InterruptedException

Runs an ingest job, blocking until the job is completed.

dataSourcesThe data sources for the ingest job.
settingsThe settings for the ingest job
A list of ingest module start up error messages, empty if the job was started sucessfully.
InterruptedExceptionIf interrupted while wiagin for the ingest job to complete.

Definition at line 55 of file

References org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getModuleErrors(), and org.sleuthkit.autopsy.testutils.IngestJobRunner.INGEST_JOB_EVENTS_OF_INTEREST.

Referenced by org.sleuthkit.autopsy.testutils.IngestUtils.runIngestJob().

Member Data Documentation

final Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.testutils.IngestJobRunner.INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.COMPLETED, IngestManager.IngestJobEvent.CANCELLED)

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.