Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory Class Reference

Inherits org.sleuthkit.autopsy.datamodel.BaseChildFactory< AnalysisResult >, and Observer.

Public Member Functions

void update (Observable o, Object arg)

Static Public Member Functions

static void post (String nodeName, Object event) throws NoSuchEventBusException
static void register (String nodeName, Object subscriber)

Protected Member Functions

void addNotify ()
boolean createKeys (List< T > toPopulate)
Node createNodeForKey (AnalysisResult art)
void finalize () throws Throwable
List< AnalysisResult > makeKeys ()
void onAdd ()
void onRemove ()

Private Member Functions

 HitsFactory (String setName, String keyword, String instance)

Private Attributes

final Map< Long, AnalysisResult > artifactHits = new HashMap<>()
final String instance
final String keyword
final String setName

Detailed Description

Creates nodes for individual files that had hits

Definition at line 914 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.HitsFactory ( String  setName,
String  keyword,
String  instance 

The node name passed to the parent constructor will consist of the set name, keyword and optionally the instance name (in the case of regular expression hits. This name must match the name set in the TermNode or RegExpInstanceNode constructors.

Definition at line 921 of file

References org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.instance, org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.keyword, and org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.setName.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.addNotify ( )

Definition at line 120 of file

boolean org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.createKeys ( List< T >  toPopulate)

For page change events and page size change events we simply return the previously calculated set of keys, otherwise we make a new set of keys.

Definition at line 149 of file

Node org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.createNodeForKey ( AnalysisResult  art)
void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.finalize ( ) throws Throwable

Definition at line 125 of file

List<AnalysisResult> org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.makeKeys ( )

Definition at line 935 of file

void org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.onAdd ( )

Definition at line 962 of file

void org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.onRemove ( )

Definition at line 967 of file

static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.post ( String  nodeName,
Object  event 
) throws NoSuchEventBusException

Post the given event for the given node name.

nodeNameThe name of the node.
eventThe event to post.

Definition at line 96 of file

static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.register ( String  nodeName,
Object  subscriber 

Register the given subscriber for the given node name. Will create the event bus for the given node name if it does not exist.

nodeNameThe name of the node.
subscriberThe subscriber to register.

Definition at line 78 of file

void org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.update ( Observable  o,
Object  arg 

Definition at line 972 of file

Member Data Documentation

final Map<Long, AnalysisResult> org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.artifactHits = new HashMap<>()

Definition at line 919 of file

final String org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.instance
final String org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.keyword
final String org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.setName

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.