Autopsy  4.1
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.DataSourceAddedEvent, org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent, org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag >, org.sleuthkit.autopsy.casemodule.events.TagDeletedEvent< T extends Tag >, org.sleuthkit.autopsy.core.events.ServiceEvent, org.sleuthkit.autopsy.ingest.events.BlackboardPostEvent, org.sleuthkit.autopsy.ingest.events.ContentChangedEvent, org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent, and org.sleuthkit.autopsy.ingest.events.FileAnalyzedEvent.

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 events to 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 system, and implements Serializable to allow it to be published over a network in serialized form.

Definition at line 34 of file AutopsyEvent.java.

Constructor & Destructor Documentation

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

Constructs an 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 59 of file AutopsyEvent.java.

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

Member Function Documentation

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

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

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 long org.sleuthkit.autopsy.events.AutopsyEvent.serialVersionUID = 1L
staticprivate

Definition at line 36 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-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.