Autopsy  4.7.0
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, long dataSourceIngestJobId, 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 included in an ingest job is started.

Definition at line 29 of file DataSourceAnalysisStartedEvent.java.

Constructor & Destructor Documentation

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

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

Parameters
ingestJobIdThe identifier of the ingest job, specific to this node.
dataSourceIngestJobIdThe identifier of the data source ingest job,specific to this node.
dataSourceThe data source.

Definition at line 43 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.

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 nodes since subscribers to this event are often not interested in the event data.

Definition at line 86 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().

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleAnalysisCompleted().

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

Gets the id of the data source ingest job of which the analysis of this data source is a part.

Returns
The id.

Definition at line 77 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 of which the analysis of this data source is a part.

Returns
The id.

Definition at line 67 of file DataSourceAnalysisEvent.java.

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

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

Gets the source type (local or remote) as a string. This is for clients that do not have access to the AutopsyEvent type, and is necessary because the events package is not currently a public package within the Autopsy-Core NetBeans Module (NBM).

Returns
A string, either "LOCAL" or "REMOTE", as an Object.

Definition at line 82 of file AutopsyEvent.java.

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

Gets the source type (local or remote).

Returns
SourceType The source type of the event, local or remote.

Definition at line 69 of file AutopsyEvent.java.

References org.sleuthkit.autopsy.events.AutopsyEvent.sourceType.

Member Data Documentation

final long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisStartedEvent.serialVersionUID = 1L
staticprivate

Definition at line 31 of file DataSourceAnalysisStartedEvent.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.