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

Classes

enum  CancellationReason
 
class  DataSourceIngestModuleHandle
 
enum  Mode
 
class  ProgressSnapshot
 

Public Member Functions

void cancel ()
 
void cancel (CancellationReason reason)
 
CancellationReason getCancellationReason ()
 
long getId ()
 
ProgressSnapshot getSnapshot ()
 
ProgressSnapshot getSnapshot (boolean getIngestTasksSnapshot)
 
boolean isCancelled ()
 

Private Attributes

volatile CancellationReason cancellationReason
 
final List< Content > dataSources = new ArrayList<>()
 
final List< AbstractFile > files = new ArrayList<>()
 
final long id
 
final AtomicInteger incompleteJobsCount
 
final Map< Long, IngestJobPipeline > ingestJobPipelines
 
final Mode ingestMode
 
final IngestJobSettings settings
 

Static Private Attributes

static final Logger logger = Logger.getLogger(IngestJob.class.getName())
 
static final AtomicLong nextId = new AtomicLong(0L)
 

Detailed Description

Analyzes one or more data sources using a set of ingest modules specified via ingest job settings.

Definition at line 42 of file IngestJob.java.

Member Function Documentation

void org.sleuthkit.autopsy.ingest.IngestJob.cancel ( )

Requests cancellation of this ingest job, which means discarding unfinished tasks and stopping the ingest pipelines. Returns immediately, but there may be a delay before all of the ingest modules in the pipelines respond by stopping processing.

Deprecated:
Use cancel(CancellationReason reason) instead

Definition at line 285 of file IngestJob.java.

References org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.USER_CANCELLED.

void org.sleuthkit.autopsy.ingest.IngestJob.cancel ( CancellationReason  reason)

Requests cancellation of this ingest job, which means discarding unfinished tasks and stopping the ingest pipelines. Returns immediately, but there may be a delay before all of the ingest modules in the pipelines respond by stopping processing.

Parameters
reasonThe reason for cancellation.

Definition at line 297 of file IngestJob.java.

CancellationReason org.sleuthkit.autopsy.ingest.IngestJob.getCancellationReason ( )

Gets the reason this job was cancelled.

Returns
The cancellation reason, may be not cancelled.

Definition at line 309 of file IngestJob.java.

References org.sleuthkit.autopsy.ingest.IngestJob.cancellationReason.

long org.sleuthkit.autopsy.ingest.IngestJob.getId ( )

Gets the unique identifier assigned to this ingest job.

Returns
The job identifier.

Definition at line 138 of file IngestJob.java.

References org.sleuthkit.autopsy.ingest.IngestJob.id.

Referenced by org.sleuthkit.autopsy.ingest.IngestManager.StartIngestJobTask.call().

ProgressSnapshot org.sleuthkit.autopsy.ingest.IngestJob.getSnapshot ( )

Gets a snapshot of the progress of this ingest job.

Returns
The snapshot.

Definition at line 247 of file IngestJob.java.

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

ProgressSnapshot org.sleuthkit.autopsy.ingest.IngestJob.getSnapshot ( boolean  getIngestTasksSnapshot)

Gets a snapshot of the progress of this ingest job.

Parameters
getIngestTasksSnapshot
Returns
The snapshot.

Definition at line 258 of file IngestJob.java.

boolean org.sleuthkit.autopsy.ingest.IngestJob.isCancelled ( )

Queries whether or not cancellation of this ingest job has been requested.

Returns
True or false.

Definition at line 319 of file IngestJob.java.

References org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.NOT_CANCELLED.

Member Data Documentation

volatile CancellationReason org.sleuthkit.autopsy.ingest.IngestJob.cancellationReason
private
final List<Content> org.sleuthkit.autopsy.ingest.IngestJob.dataSources = new ArrayList<>()
private

Definition at line 78 of file IngestJob.java.

final List<AbstractFile> org.sleuthkit.autopsy.ingest.IngestJob.files = new ArrayList<>()
private

Definition at line 79 of file IngestJob.java.

final long org.sleuthkit.autopsy.ingest.IngestJob.id
private

Definition at line 77 of file IngestJob.java.

Referenced by org.sleuthkit.autopsy.ingest.IngestJob.getId().

final AtomicInteger org.sleuthkit.autopsy.ingest.IngestJob.incompleteJobsCount
private

Definition at line 82 of file IngestJob.java.

final Map<Long, IngestJobPipeline> org.sleuthkit.autopsy.ingest.IngestJob.ingestJobPipelines
private

Definition at line 81 of file IngestJob.java.

final Mode org.sleuthkit.autopsy.ingest.IngestJob.ingestMode
private

Definition at line 80 of file IngestJob.java.

final Logger org.sleuthkit.autopsy.ingest.IngestJob.logger = Logger.getLogger(IngestJob.class.getName())
staticprivate

Definition at line 75 of file IngestJob.java.

final AtomicLong org.sleuthkit.autopsy.ingest.IngestJob.nextId = new AtomicLong(0L)
staticprivate

Definition at line 76 of file IngestJob.java.

final IngestJobSettings org.sleuthkit.autopsy.ingest.IngestJob.settings
private

Definition at line 83 of file IngestJob.java.


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

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