Autopsy  4.8.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable Class Reference

Inherits Observable.

Private Member Functions

void removeListeners ()
 
void update ()
 

Private Attributes

final PropertyChangeListener pcl
 

Static Private Attributes

static final Set< Case.Events > CASE_EVENTS_OF_INTEREST = EnumSet.of(Case.Events.DATA_SOURCE_ADDED, Case.Events.CURRENT_CASE)
 

Detailed Description

Listens for case and ingest invest. Updates observers when events are fired. Size-based nodes are listening to this for changes.

Definition at line 188 of file FileSize.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.removeListeners ( )
private
void org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.update ( )
private

Definition at line 250 of file FileSize.java.

Member Data Documentation

final Set<Case.Events> org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.CASE_EVENTS_OF_INTEREST = EnumSet.of(Case.Events.DATA_SOURCE_ADDED, Case.Events.CURRENT_CASE)
staticprivate
final PropertyChangeListener org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.pcl
private
Initial value:
= (PropertyChangeEvent evt) -> {
String eventType = evt.getPropertyName();
if (eventType.equals(IngestManager.IngestModuleEvent.CONTENT_CHANGED.toString())) {
try {
Case.getCurrentCaseThrows();
update();
} catch (NoCurrentCaseException notUsed) {
}
} else if (eventType.equals(IngestManager.IngestJobEvent.COMPLETED.toString())
|| eventType.equals(IngestManager.IngestJobEvent.CANCELLED.toString())
|| eventType.equals(Case.Events.DATA_SOURCE_ADDED.toString())) {
try {
Case.getCurrentCaseThrows();
update();
} catch (NoCurrentCaseException notUsed) {
}
} else if (eventType.equals(Case.Events.CURRENT_CASE.toString())) {
if (evt.getNewValue() == null) {
}
}
}

Definition at line 205 of file FileSize.java.

Referenced by org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.removeListeners().


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

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