Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren Class Reference

Inherits Detachable< HostGrouping >.

Protected Member Functions

void addNotify ()
 
boolean createKeys (List< HostGrouping > toPopulate)
 
HostNode createNodeForKey (HostGrouping key)
 
void finalize () throws Throwable
 

Private Attributes

final PropertyChangeListener hostAddedDeletedPcl
 
final Person person
 
final PropertyChangeListener weakPcl = WeakListeners.propertyChange(hostAddedDeletedPcl, null)
 

Static Private Attributes

static final Set< Case.Events > HOST_EVENTS_OF_INTEREST
 
static final Set< String > HOST_EVENTS_OF_INTEREST_NAMES
 
static final Logger logger = Logger.getLogger(PersonChildren.class.getName())
 

Detailed Description

Responsible for creating the host children of this person.

Definition at line 72 of file PersonNode.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.addNotify ( )
protected
boolean org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.createKeys ( List< HostGrouping toPopulate)
protected
HostNode org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.createNodeForKey ( HostGrouping  key)
protected

Definition at line 130 of file PersonNode.java.

void org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.finalize ( ) throws Throwable
protected

Member Data Documentation

final Set<Case.Events> org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.HOST_EVENTS_OF_INTEREST
staticprivate
Initial value:
= EnumSet.of(Case.Events.HOSTS_ADDED,
Case.Events.HOSTS_ADDED,
Case.Events.HOSTS_DELETED,
Case.Events.HOSTS_ADDED_TO_PERSON,
Case.Events.HOSTS_REMOVED_FROM_PERSON)

Definition at line 76 of file PersonNode.java.

final Set<String> org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.HOST_EVENTS_OF_INTEREST_NAMES
staticprivate
Initial value:
.map(ev -> ev.name())
.collect(Collectors.toSet())

Definition at line 82 of file PersonNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.hostAddedDeletedPcl
private
Initial value:
= new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
String eventType = evt.getPropertyName();
if (eventType != null && HOST_EVENTS_OF_INTEREST_NAMES.contains(eventType)) {
refresh(true);
}
}
}

Listener for application events that are published when hosts are added to or deleted from a case, and for events published when the associations between persons and hosts change. If the user has selected the group by person/host option for the main tree view, these events mean that person nodes in the tree need to be refreshed to reflect the structural changes.

Definition at line 106 of file PersonNode.java.

final Logger org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.logger = Logger.getLogger(PersonChildren.class.getName())
staticprivate

Definition at line 74 of file PersonNode.java.

final Person org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.person
private

Definition at line 86 of file PersonNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.PersonNode.PersonChildren.weakPcl = WeakListeners.propertyChange(hostAddedDeletedPcl, null)
private

Definition at line 116 of file PersonNode.java.


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

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