Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members Class Reference

Inherits, and Serializable.

Public Member Functions

 ReportAddedEvent (Report report)
Object getNewValue ()
Object getSource ()
SourceType getSourceType ()

Private Attributes

transient Report report

Static Private Attributes

static final Logger logger = Logger.getLogger(DataSourceAddedEvent.class.getName())
static final long serialVersionUID = 1L

Detailed Description

Event published when a report is added to a case.

Definition at line 33 of file

Constructor & Destructor Documentation ( Report  report)

Constructs an event published when a report is added to a case.

reportThe data source that was added.

Putting the object id of the report into newValue to allow for lazy loading of the Report object.

Definition at line 44 of file

References, and org.sleuthkit.autopsy.casemodule.Case.Events.REPORT_ADDED.

Member Function Documentation

Object ( )

Gets the data source that was added.

The data source.

The report 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 Report object may save database round trips from other nodes since subscribers to this event are often not interested in the event data.

Definition at line 59 of file

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and

Object ( )

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).

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

Definition at line 82 of file

SourceType ( )

Gets the source type (local or remote).

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

Definition at line 69 of file


Member Data Documentation

final Logger = Logger.getLogger(DataSourceAddedEvent.class.getName())

Definition at line 36 of file

transient Report
final long = 1L

Definition at line 35 of file

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

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