Autopsy  4.19.3
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.events.AutopsyEvent Class Reference

Inherits PropertyChangeEvent, and Serializable.

Inherited by org.sleuthkit.autopsy.casemodule.CollaborationMonitor.CollaborationEvent, org.sleuthkit.autopsy.casemodule.events.AddingDataSourceEvent, org.sleuthkit.autopsy.casemodule.events.AddingDataSourceFailedEvent, org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent, org.sleuthkit.autopsy.casemodule.events.DataSourceAddedEvent, org.sleuthkit.autopsy.casemodule.events.DataSourceDeletedEvent, org.sleuthkit.autopsy.casemodule.events.DataSourceNameChangedEvent, org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >, org.sleuthkit.autopsy.casemodule.events.TagDeletedEvent< T extends Tag >, org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< T, U >, org.sleuthkit.autopsy.casemodule.events.TskDataModelObjectsDeletedEvent, org.sleuthkit.autopsy.core.events.ServiceEvent, org.sleuthkit.autopsy.ingest.events.BlackboardPostEvent, org.sleuthkit.autopsy.ingest.events.ContentChangedEvent, org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent, org.sleuthkit.autopsy.ingest.events.FileAnalyzedEvent, and org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.

Classes

enum  SourceType
 

Public Member Functions

 AutopsyEvent (String eventName, Object oldValue, Object newValue)
 
Object getSource ()
 
SourceType getSourceType ()
 

Private Attributes

SourceType sourceType
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

A base class for application events that can be published to registered subscribers on both this Autopsy node and other Autopsy nodes.

The class extends PropertyChangeEvent to integrate with legacy use of JavaBeans PropertyChangeEvents and PropertyChangeListeners as an application event publisher-subcriber mechanism. Subclasses need to decide what constitutes "old" and "new" objects for them and are encouraged to provide getters for these values that do not require clients to cast the return values.

This class implements Serializable to allow it to be published over a network in serialized form.

Definition at line 38 of file AutopsyEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.events.AutopsyEvent.AutopsyEvent ( String  eventName,
Object  oldValue,
Object  newValue 
)

Constructs the base class part of an application event that can be published to registered subscribers on both this Autopsy node and other Autopsy nodes.

Parameters
eventNameThe event name.
oldValueThe "old" value to associate with the event. May be null.
newValueThe "new" value to associate with the event. May be null.

Definition at line 68 of file AutopsyEvent.java.

References org.sleuthkit.autopsy.events.AutopsyEvent.SourceType.LOCAL.

Member Function Documentation

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

Gets the event source type (local or remote) as a string.

Returns
A string, either "LOCAL" or "REMOTE."

Definition at line 88 of file AutopsyEvent.java.

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

Member Data Documentation

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

Definition at line 40 of file AutopsyEvent.java.

SourceType org.sleuthkit.autopsy.events.AutopsyEvent.sourceType
private

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

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