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

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

Public Member Functions

 DataSourceAnalysisStartedEvent (long ingestJobId, Content dataSource)
 
 DataSourceAnalysisStartedEvent (long ingestJobId, long unused, Content dataSource)
 
Content getDataSource ()
 
long getDataSourceIngestJobId ()
 
long getIngestJobId ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

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

Definition at line 28 of file DataSourceAnalysisStartedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisStartedEvent.DataSourceAnalysisStartedEvent ( long  ingestJobId,
Content  dataSource 
)

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

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.

Definition at line 41 of file DataSourceAnalysisStartedEvent.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.DATA_SOURCE_ANALYSIS_STARTED.

org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisStartedEvent.DataSourceAnalysisStartedEvent ( long  ingestJobId,
long  unused,
Content  dataSource 
)

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

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.
Deprecated:
Do not use.

Definition at line 58 of file DataSourceAnalysisStartedEvent.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.DATA_SOURCE_ANALYSIS_STARTED.

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.

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 long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisStartedEvent.serialVersionUID = 1L
staticprivate

Definition at line 30 of file DataSourceAnalysisStartedEvent.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Fri Sep 30 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.