Autopsy  4.15.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.datamodel.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 147 of file ExtractedContent.java.

Member Function Documentation

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

Definition at line 255 of file ExtractedContent.java.

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

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.

Definition at line 267 of file ExtractedContent.java.

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

Definition at line 262 of file ExtractedContent.java.

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

Member Data Documentation

final ArrayList<BlackboardArtifact.Type> org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.doNotShow = new ArrayList<>()
private
final PropertyChangeListener org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.pcl
private
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 {
Case.getCurrentCaseThrows();
refresh(false);
} catch (NoCurrentCaseException notUsed) {
}
}
}

Definition at line 180 of file ExtractedContent.java.

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

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

Definition at line 158 of file ExtractedContent.java.

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

Definition at line 151 of file ExtractedContent.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.