Autopsy  4.19.3
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.events.DataSourceAnalysisCompletedEvent Class Reference

Inherits org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent, and Serializable.

Classes

enum  Reason
 

Public Member Functions

 DataSourceAnalysisCompletedEvent (long ingestJobId, Content dataSource, Reason reason)
 
 DataSourceAnalysisCompletedEvent (long ingestJobId, long unused, Content dataSource, Reason reason)
 
Content getDataSource ()
 
long getDataSourceIngestJobId ()
 
long getIngestJobId ()
 
Reason getResult ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Private Attributes

final Reason reason
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Event published when analysis (ingest) of a data source is completed.

Definition at line 28 of file DataSourceAnalysisCompletedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.DataSourceAnalysisCompletedEvent ( long  ingestJobId,
Content  dataSource,
Reason  reason 
)

Constructs an event published when analysis (ingest) of a data source is completed.

Parameters
ingestJobIdThe identifier of the ingest job. For a multi-user case, this ID is only unique on the host where the ingest job is running.
dataSourceThe data source.
reasonThe reason analysis completed.

Definition at line 52 of file DataSourceAnalysisCompletedEvent.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.DATA_SOURCE_ANALYSIS_COMPLETED, and org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.reason.

org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.DataSourceAnalysisCompletedEvent ( long  ingestJobId,
long  unused,
Content  dataSource,
Reason  reason 
)

Constructs an event published when analysis (ingest) of a data source is completed.

Parameters
ingestJobIdThe identifier of the ingest job. For a multi-user case, this ID is only unique on the host where the ingest job is running.
unusedUnused.
dataSourceThe data source.
reasonThe reason analysis completed.
Deprecated:
Do not use.

Definition at line 71 of file DataSourceAnalysisCompletedEvent.java.

References org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.dataSource, org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.ingestJobId, and org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.reason.

Member Function Documentation

Content org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getDataSource ( )
inherited

Gets the data source associated with this event.

Returns
The data source or null if there is an error getting the data source from an event published by a remote host.

The dataSource field is set in the constructor, but it is transient so it will become null when the event is serialized for publication over a network. Doing a lazy load of the Content object bypasses the issues related to the serialization and de-serialization of Content objects and may also save database round trips from other hosts since subscribers to this event are often not interested in the event data.

Definition at line 109 of file DataSourceAnalysisEvent.java.

References org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.dataSource, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getDataSourceIngestJobId ( )
inherited

Gets the ID of the ingest job. For a multi-user case, this ID is only unique on the host where the ingest job is running.

Returns
The ingest job ID.
Deprecated:
Use getIngestJobId() instead.

Definition at line 99 of file DataSourceAnalysisEvent.java.

References org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.dataSourceIngestJobId.

long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getIngestJobId ( )
inherited

Gets the ID of the ingest job. For a multi-user case, this ID is only unique on the host where the ingest job is running.

Returns
The ingest job ID.

Definition at line 86 of file DataSourceAnalysisEvent.java.

References org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.ingestJobId.

Reason org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.getResult ( )

Gets the reason why the analysis of the data source completed.

Returns
The reason.

Definition at line 80 of file DataSourceAnalysisCompletedEvent.java.

References org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.reason.

Object org.sleuthkit.autopsy.events.AutopsyEvent.getSource ( )
inherited

Gets the event source type (local or remote) as a string.

Returns
A string, either "LOCAL" or "REMOTE."

Definition at line 88 of file AutopsyEvent.java.

SourceType org.sleuthkit.autopsy.events.AutopsyEvent.getSourceType ( )
inherited

Member Data Documentation

final Reason org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.reason
private
final long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.serialVersionUID = 1L
staticprivate

Definition at line 39 of file DataSourceAnalysisCompletedEvent.java.


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

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