Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.events.AutopsyEvent, 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 |
Event published when a report is added to a case.
Definition at line 34 of file ReportAddedEvent.java.
org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.ReportAddedEvent | ( | Report | report | ) |
Constructs an event published when a report is added to a case.
report | The 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 45 of file ReportAddedEvent.java.
References org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.report, and org.sleuthkit.autopsy.casemodule.Case.Events.REPORT_ADDED.
Object org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.getNewValue | ( | ) |
Gets the data source that was added.
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 60 of file ReportAddedEvent.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.report.
|
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).
Definition at line 82 of file AutopsyEvent.java.
|
inherited |
Gets the source type (local or remote).
Definition at line 69 of file AutopsyEvent.java.
References org.sleuthkit.autopsy.events.AutopsyEvent.sourceType.
|
staticprivate |
Definition at line 37 of file ReportAddedEvent.java.
|
private |
Definition at line 38 of file ReportAddedEvent.java.
Referenced by org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.getNewValue(), and org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.ReportAddedEvent().
|
staticprivate |
Definition at line 36 of file ReportAddedEvent.java.
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.