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

Inherits org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >, and Serializable.

Public Member Functions

 ContentTagAddedEvent (ContentTag newTag)
 
 ContentTagAddedEvent (ContentTag newTag, List< ContentTag > deletedTagList)
 
getAddedTag ()
 
List< V > getDeletedTags ()
 
getNewValue ()
 
Object getOldValue ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Static Private Member Functions

static List< DeletedContentTagInfogetDeletedInfo (List< ContentTag > deletedTagList)
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

An event that is fired when a ContentTag is added.

Definition at line 35 of file ContentTagAddedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.events.ContentTagAddedEvent.ContentTagAddedEvent ( ContentTag  newTag)
org.sleuthkit.autopsy.casemodule.events.ContentTagAddedEvent.ContentTagAddedEvent ( ContentTag  newTag,
List< ContentTag >  deletedTagList 
)

Member Function Documentation

T org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >.getAddedTag ( )
inherited

get the Tag that was added

Returns
the tTag

Definition at line 86 of file TagAddedEvent.java.

static List<DeletedContentTagInfo> org.sleuthkit.autopsy.casemodule.events.ContentTagAddedEvent.getDeletedInfo ( List< ContentTag >  deletedTagList)
staticprivate

Create a list of DeletedContentTagInfo objects from a list of ContentTags.

Parameters
deletedTagListList of deleted ContentTags.
Returns
List of DeletedContentTagInfo objects or empty list if deletedTagList was empty or null.

Definition at line 67 of file ContentTagAddedEvent.java.

Referenced by org.sleuthkit.autopsy.casemodule.events.ContentTagAddedEvent.ContentTagAddedEvent().

List<V> org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >.getDeletedTags ( )
inherited

Returns the list of tags that were removed as a result of the addition of the T.

Returns
A list of removed tags or null if no tags were removed.

Definition at line 118 of file TagAddedEvent.java.

T org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >.getNewValue ( )
inherited

The tag 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 Tag object bypasses the issues related to the serialization and de-serialization of Tag 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 91 of file TagAddedEvent.java.

Object org.sleuthkit.autopsy.casemodule.events.TagAddedEvent< T extends Tag, >.getOldValue ( )
inherited

Definition at line 123 of file TagAddedEvent.java.

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

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

Definition at line 37 of file ContentTagAddedEvent.java.


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

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