Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Detachable< T >.
Classes | |
class | NoSuchEventBusException |
class | PageChangeEvent |
class | PageCountChangeEvent |
class | PageSizeChangeEvent |
class | PagingSupport |
class | RefreshKeysEvent |
Public Member Functions | |
BaseChildFactory (String nodeName) | |
BaseChildFactory (String nodeName, Predicate< T > filter) | |
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) |
abstract List< T > | makeKeys () |
abstract void | onAdd () |
abstract void | onRemove () |
void | removeNotify () |
Private Attributes | |
Predicate< T > | filter |
boolean | isPageChangeEvent |
boolean | isPageSizeChangeEvent |
final PagingSupport | pagingSupport |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(BaseChildFactory.class.getName()) |
static Map< String, EventBus > | nodeNameToEventBusMap = new ConcurrentHashMap<>() |
Abstract child factory that provides paging and filtering functionality to subclasses.
<T> |
Definition at line 45 of file BaseChildFactory.java.
org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.BaseChildFactory | ( | String | nodeName | ) |
Initialize a no-op filter that always returns true.
Definition at line 104 of file BaseChildFactory.java.
org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.BaseChildFactory | ( | String | nodeName, |
Predicate< T > | filter | ||
) |
Definition at line 111 of file BaseChildFactory.java.
|
protected |
Definition at line 120 of file BaseChildFactory.java.
|
protected |
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.
|
abstractprotected |
Subclasses implement this to construct a collection of keys.
Referenced by org.sleuthkit.autopsy.datamodel.BaseChildFactory< FileTypesKey >.createKeys().
|
abstractprotected |
Subclasses implement this to initialize any required resources.
Referenced by org.sleuthkit.autopsy.datamodel.BaseChildFactory< FileTypesKey >.addNotify().
|
abstractprotected |
Subclasses implement this to clean up any resources they acquired in onAdd()
Referenced by org.sleuthkit.autopsy.datamodel.BaseChildFactory< FileTypesKey >.removeNotify().
|
static |
Post the given event for the given node name.
nodeName | The name of the node. |
event | The event to post. |
Definition at line 96 of file BaseChildFactory.java.
|
static |
Register the given subscriber for the given node name. Will create the event bus for the given node name if it does not exist.
nodeName | The name of the node. |
subscriber | The subscriber to register. |
Definition at line 78 of file BaseChildFactory.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.PagingSupport.initialize().
|
protected |
Definition at line 125 of file BaseChildFactory.java.
|
private |
Definition at line 49 of file BaseChildFactory.java.
Referenced by org.sleuthkit.autopsy.datamodel.BaseChildFactory< FileTypesKey >.BaseChildFactory().
|
private |
Definition at line 50 of file BaseChildFactory.java.
|
private |
Definition at line 51 of file BaseChildFactory.java.
|
staticprivate |
Definition at line 47 of file BaseChildFactory.java.
|
staticprivate |
This static map is used to facilitate communication between the UI and the child factory.
Definition at line 59 of file BaseChildFactory.java.
|
private |
Definition at line 53 of file BaseChildFactory.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.