Autopsy  4.7.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.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable 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
 

Detailed Description

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

Definition at line 179 of file DeletedContent.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.removeListeners ( )
private
void org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.update ( )
private

Definition at line 245 of file DeletedContent.java.

Member Data Documentation

final Set<Case.Events> org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.CASE_EVENTS_OF_INTEREST
staticprivate
Initial value:
= EnumSet.of(
Case.Events.DATA_SOURCE_ADDED,
Case.Events.CURRENT_CASE
)

Definition at line 180 of file DeletedContent.java.

Referenced by org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.removeListeners().

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.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 198 of file DeletedContent.java.

Referenced by org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.removeListeners().


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.