Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datamodel.BaseChildFactory< BlackboardArtifact >, and org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.
Public Member Functions | |
boolean | isRefreshRequired (PropertyChangeEvent evt) |
void | refresh () |
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 (BlackboardArtifact key) |
void | finalize () throws Throwable |
List< BlackboardArtifact > | makeKeys () |
void | onAdd () |
void | onRemove () |
Private Attributes | |
final long | filteringDSObjId |
final PropertyChangeListener | pcl |
final RefreshThrottler | refreshThrottler = new RefreshThrottler(this) |
final BlackboardArtifact.Type | type |
final PropertyChangeListener | weakPcl = WeakListeners.propertyChange(pcl, null) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(ArtifactFactory.class.getName()) |
Creates children for a given artifact type
Definition at line 594 of file Artifacts.java.
|
protectedinherited |
Definition at line 120 of file BaseChildFactory.java.
|
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.
|
protected |
Definition at line 659 of file Artifacts.java.
|
protectedinherited |
Definition at line 125 of file BaseChildFactory.java.
boolean org.sleuthkit.autopsy.datamodel.Artifacts.ArtifactFactory.isRefreshRequired | ( | PropertyChangeEvent | evt | ) |
Determine whether the given event should result in a refresh.
evt |
Checking for a current case 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.
Even with the check above, it is still possible that the case will be closed in a different thread before this code executes. If that happens, it is possible for the event to have a null oldValue.
Case is closed, do nothing.
Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.
Definition at line 706 of file Artifacts.java.
References org.sleuthkit.autopsy.ingest.IngestManager.IngestModuleEvent.DATA_ADDED, and org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows().
|
protected |
|
protected |
Definition at line 645 of file Artifacts.java.
References org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.datamodel.Artifacts.INGEST_JOB_EVENTS_OF_INTEREST, and org.sleuthkit.autopsy.guiutils.RefreshThrottler.registerForIngestModuleEvents().
|
protected |
|
staticinherited |
Post the given event for the given node name.
nodeName | The name of the node. |
event | The event to post. |
Definition at line 96 of file BaseChildFactory.java.
void org.sleuthkit.autopsy.datamodel.Artifacts.ArtifactFactory.refresh | ( | ) |
The RefreshThrottler calls this method when the RefreshTask runs.
Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.
Definition at line 701 of file Artifacts.java.
|
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.
nodeName | The name of the node. |
subscriber | The subscriber to register. |
Definition at line 78 of file BaseChildFactory.java.
|
private |
Definition at line 605 of file Artifacts.java.
Referenced by org.sleuthkit.autopsy.datamodel.Artifacts.ArtifactFactory.makeKeys().
|
staticprivate |
Definition at line 596 of file Artifacts.java.
|
private |
Definition at line 621 of file Artifacts.java.
|
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 604 of file Artifacts.java.
|
private |
Definition at line 597 of file Artifacts.java.
|
private |
Definition at line 642 of file Artifacts.java.
Copyright © 2012-2022 Basis Technology. Generated on: Wed May 31 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.