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

Inherits Detachable< DataSourceGrouping >.

Protected Member Functions

void addNotify ()
 
boolean createKeys (List< DataSourceGrouping > toPopulate)
 
Node createNodeForKey (DataSourceGrouping key)
 
void finalize () throws Throwable
 

Private Member Functions

String getNameOrEmpty (DataSourceGrouping dsGroup)
 

Private Attributes

final PropertyChangeListener dataSourceAddedPcl
 
final Function< DataSourceGrouping, Node > dataSourceToNode
 
final Host host
 
final PropertyChangeListener weakPcl = WeakListeners.propertyChange(dataSourceAddedPcl, null)
 

Static Private Attributes

static final Logger logger = Logger.getLogger(HostGroupingChildren.class.getName())
 

Detailed Description

Provides the data source children for this host.

Definition at line 63 of file HostNode.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.addNotify ( )
protected
boolean org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.createKeys ( List< DataSourceGrouping toPopulate)
protected
Node org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.createNodeForKey ( DataSourceGrouping  key)
protected

Definition at line 112 of file HostNode.java.

void org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.finalize ( ) throws Throwable
protected
String org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.getNameOrEmpty ( DataSourceGrouping  dsGroup)
private

Get name for data source in data source grouping node or empty string.

Parameters
dsGroupThe data source grouping.
Returns
The name or empty if none exists.

Definition at line 144 of file HostNode.java.

Member Data Documentation

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.dataSourceAddedPcl
private
Initial value:
= new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
String eventType = evt.getPropertyName();
if (eventType.equals(Case.Events.DATA_SOURCE_ADDED.toString())
|| eventType.equals(Case.Events.HOSTS_DELETED.toString())) {
refresh(true);
}
}
}

Listener for handling DATA_SOURCE_ADDED / HOST_DELETED events. A host may have been deleted as part of a merge, which means its data sources could have moved to a different host requiring a refresh.

Definition at line 86 of file HostNode.java.

final Function<DataSourceGrouping, Node> org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.dataSourceToNode
private

Definition at line 68 of file HostNode.java.

final Host org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.host
private

Definition at line 67 of file HostNode.java.

final Logger org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.logger = Logger.getLogger(HostGroupingChildren.class.getName())
staticprivate

Definition at line 65 of file HostNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.HostNode.HostGroupingChildren.weakPcl = WeakListeners.propertyChange(dataSourceAddedPcl, null)
private

Definition at line 97 of file HostNode.java.


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

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