Autopsy  4.13.0
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.DataSourcesNode.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)
 
List< Content > makeKeys ()
 
void onAdd ()
 
void onRemove ()
 
void removeNotify ()
 

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 79 of file DataSourcesNode.java.

Constructor & Destructor Documentation

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

Definition at line 86 of file DataSourcesNode.java.

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

Definition at line 90 of file DataSourcesNode.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 148 of file BaseChildFactory.java.

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

Definition at line 38 of file AbstractContentChildren.java.

List<Content> org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.makeKeys ( )
protected
void org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.onAdd ( )
protected
void org.sleuthkit.autopsy.datamodel.DataSourcesNode.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.

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

Definition at line 125 of file BaseChildFactory.java.

Member Data Documentation

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

Definition at line 82 of file DataSourcesNode.java.

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

Definition at line 81 of file DataSourcesNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.DataSourcesNode.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 96 of file DataSourcesNode.java.

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


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

Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.