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

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

Classes

enum  Reason
 

Public Member Functions

 DataSourceAnalysisCompletedEvent (long ingestJobId, long dataSourceIngestJobId, 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 included in an ingest job is completed.

Definition at line 29 of file DataSourceAnalysisCompletedEvent.java.

Constructor & Destructor Documentation

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

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

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.
reasonThe reason analysis completed.

Definition at line 54 of file DataSourceAnalysisCompletedEvent.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.DATA_SOURCE_ANALYSIS_COMPLETED, 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.

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 85 of file DataSourceAnalysisEvent.java.

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

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 76 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 66 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.

Definition at line 62 of file DataSourceAnalysisCompletedEvent.java.

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

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 Reason org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.reason
private
final long org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisCompletedEvent.serialVersionUID = 1L
staticprivate

Definition at line 40 of file DataSourceAnalysisCompletedEvent.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.