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

Inherits Detachable< BlackboardArtifact.Type >, and org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Public Member Functions

boolean isRefreshRequired (PropertyChangeEvent evt)
void refresh ()

Protected Member Functions

void addNotify ()
boolean createKeys (List< BlackboardArtifact.Type > list)
Node createNodeForKey (BlackboardArtifact.Type key)
void removeNotify ()

Private Attributes

final ArrayList< BlackboardArtifact.Type > doNotShow = new ArrayList<>()
final PropertyChangeListener pcl
final RefreshThrottler refreshThrottler = new RefreshThrottler(this)
final HashMap< BlackboardArtifact.Type, TypeNodetypeNodeList = new HashMap<>()

Detailed Description

Creates the children for the ExtractedContent area of the results tree. This area has all of the blackboard artifacts that are not displayed in a more specific form elsewhere in the tree.

Definition at line 148 of file

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.addNotify ( )
boolean org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.createKeys ( List< BlackboardArtifact.Type >  list)
Node org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.createNodeForKey ( BlackboardArtifact.Type  key)

Definition at line 256 of file

boolean org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.isRefreshRequired ( PropertyChangeEvent  evt)

Determine whether the given event should result in a refresh.

true if event should trigger a refresh, otherwise false.

This is a stop gap measure until a different way of handling the closing of cases is worked out. Currently, remote events may be received for a case that is already closed.

Due to some unresolved issues with how cases are closed, it is possible for the event to have a null oldValue if the event is a remote event.

Case is closed, do nothing.

Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Definition at line 268 of file

References org.sleuthkit.autopsy.ingest.IngestManager.IngestModuleEvent.DATA_ADDED, org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.doNotShow, and org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows().

void org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.refresh ( )

The RefreshThrottler calls this method when the RefreshTask runs.

Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Definition at line 263 of file

void org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.removeNotify ( )

Member Data Documentation

final ArrayList<BlackboardArtifact.Type> org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.doNotShow = new ArrayList<>()
final PropertyChangeListener org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.pcl
Initial value:
= (PropertyChangeEvent evt) -> {
String eventType = evt.getPropertyName();
if (eventType.equals(Case.Events.CURRENT_CASE.toString())) {
if (evt.getNewValue() == null) {
skCase = null;
} else if (eventType.equals(IngestManager.IngestJobEvent.COMPLETED.toString())
|| eventType.equals(IngestManager.IngestJobEvent.CANCELLED.toString())) {
try {
} catch (NoCurrentCaseException notUsed) {

Definition at line 181 of file

Referenced by org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.addNotify(), and org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.removeNotify().

final RefreshThrottler org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.refreshThrottler = new RefreshThrottler(this)

RefreshThrottler is used to limit the number of refreshes performed when CONTENT_CHANGED and DATA_ADDED ingest module events are received.

Definition at line 159 of file

final HashMap<BlackboardArtifact.Type, TypeNode> org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.typeNodeList = new HashMap<>()

Definition at line 152 of file

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

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