Autopsy  4.18.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.HashsetHits.HitFactory 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 key)
 
void finalize () throws Throwable
 
List< AnalysisResult > makeKeys ()
 
void onAdd ()
 
void onRemove ()
 

Private Member Functions

 HitFactory (String hashsetName)
 

Private Attributes

final Map< Long, AnalysisResult > artifactHits = new HashMap<>()
 
final String hashsetName
 

Detailed Description

Creates the nodes for the hits in a given set.

Definition at line 388 of file HashsetHits.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.HitFactory ( String  hashsetName)
private

Member Function Documentation

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

Definition at line 120 of file BaseChildFactory.java.

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

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 BaseChildFactory.java.

Node org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.createNodeForKey ( AnalysisResult  key)
protected

Definition at line 409 of file HashsetHits.java.

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.finalize ( ) throws Throwable
protectedinherited

Definition at line 125 of file BaseChildFactory.java.

List<AnalysisResult> org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.makeKeys ( )
protected

Definition at line 419 of file HashsetHits.java.

void org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.onAdd ( )
protected

Definition at line 399 of file HashsetHits.java.

void org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.onRemove ( )
protected

Definition at line 404 of file HashsetHits.java.

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

Post the given event for the given node name.

Parameters
nodeNameThe name of the node.
eventThe event to post.
Exceptions
org.sleuthkit.autopsy.datamodel.BaseChildFactory.NoSuchEventBusException

Definition at line 96 of file BaseChildFactory.java.

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

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

Parameters
nodeNameThe name of the node.
subscriberThe subscriber to register.

Definition at line 78 of file BaseChildFactory.java.

void org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.update ( Observable  o,
Object  arg 
)

Definition at line 414 of file HashsetHits.java.

Member Data Documentation

final Map<Long, AnalysisResult> org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.artifactHits = new HashMap<>()
private

Definition at line 391 of file HashsetHits.java.

final String org.sleuthkit.autopsy.datamodel.HashsetHits.HitFactory.hashsetName
private

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

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