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

Inherits org.sleuthkit.autopsy.datamodel.AbstractContentChildren< T extends Content >.

Public Member Functions

 DataSourcesNodeChildren ()
 
 DataSourcesNodeChildren (long dsObjId)
 

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 (T key)
 
void finalize () throws Throwable
 
List< Content > makeKeys ()
 
void onAdd ()
 
void onRemove ()
 

Private Attributes

final long datasourceObjId
 
final PropertyChangeListener pcl
 

Static Private Attributes

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

Detailed Description

Definition at line 91 of file DataSourceFilesNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.DataSourcesNodeChildren ( )

Definition at line 98 of file DataSourceFilesNode.java.

org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.DataSourcesNodeChildren ( long  dsObjId)

Definition at line 102 of file DataSourceFilesNode.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.addNotify ( )
protectedinherited

Definition at line 120 of file BaseChildFactory.java.

boolean org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.createKeys ( List< T >  toPopulate)
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.

Node org.sleuthkit.autopsy.datamodel.AbstractContentChildren< T extends Content >.createNodeForKey ( key)
protectedinherited

Definition at line 38 of file AbstractContentChildren.java.

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.finalize ( ) throws Throwable
protectedinherited

Definition at line 125 of file BaseChildFactory.java.

List<Content> org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.makeKeys ( )
protected
void org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.onAdd ( )
protected
void org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.onRemove ( )
protected
static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.post ( String  nodeName,
Object  event 
) throws NoSuchEventBusException
staticinherited

Post the given event for the given node name.

Parameters
nodeNameThe name of the node.
eventThe event to post.
Exceptions
org.sleuthkit.autopsy.datamodel.BaseChildFactory.NoSuchEventBusException

Definition at line 96 of file BaseChildFactory.java.

static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.register ( String  nodeName,
Object  subscriber 
)
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.

Parameters
nodeNameThe name of the node.
subscriberThe subscriber to register.

Definition at line 78 of file BaseChildFactory.java.

Member Data Documentation

final long org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.datasourceObjId
private

Definition at line 94 of file DataSourceFilesNode.java.

final Logger org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.logger = Logger.getLogger(DataSourcesNodeChildren.class.getName())
staticprivate

Definition at line 93 of file DataSourceFilesNode.java.

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

Definition at line 108 of file DataSourceFilesNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.onAdd(), and org.sleuthkit.autopsy.datamodel.DataSourceFilesNode.DataSourcesNodeChildren.onRemove().


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

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