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

Inherits org.sleuthkit.autopsy.events.AutopsyEvent.

Public Member Functions

 TimelineEventAddedEvent (org.sleuthkit.datamodel.TimelineManager.TimelineEventAddedEvent event)
 
TimelineEvent getAddedEvent ()
 
long getAddedEventID ()
 
TimelineEvent getNewValue ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Private Attributes

transient TimelineEvent addedEvent
 

Static Private Attributes

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

Detailed Description

An AutopsyEvent broadcast when a TimelineEvent is added to the case.

Definition at line 32 of file TimelineEventAddedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.TimelineEventAddedEvent ( org.sleuthkit.datamodel.TimelineManager.TimelineEventAddedEvent  event)

Member Function Documentation

TimelineEvent org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getAddedEvent ( )

Gets the TimelineEvent that was added.

Returns
The TimelineEvent or null if there is an error retrieving the TimelineEvent.

Definition at line 80 of file TimelineEventAddedEvent.java.

References org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getNewValue().

long org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getAddedEventID ( )

Gets the Id of the event that was added.

Returns
The Id of the event that was added.

Definition at line 89 of file TimelineEventAddedEvent.java.

TimelineEvent org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getNewValue ( )

Gets the TimelineEvent that was added.

Returns
The TimelineEvent or null if there is an error retrieving the TimelineEvent.

The addedEvent 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 TimelineEvent object bypasses the issues related to the serialization and de-serialization of TimelineEvent 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 51 of file TimelineEventAddedEvent.java.

References org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.addedEvent, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

Referenced by org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getAddedEvent().

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

transient TimelineEvent org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.addedEvent
private
final Logger org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.logger = Logger.getLogger(TimelineEventAddedEvent.class.getName())
staticprivate

Definition at line 35 of file TimelineEventAddedEvent.java.

final long org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.serialVersionUID = 1L
staticprivate

Definition at line 34 of file TimelineEventAddedEvent.java.


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

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