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

Inherits org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.

Public Member Functions

 AnalysisPanel ()
 
 AnalysisPanel (AnalysisSummaryGetter analysisData)
 
void close ()
 

Protected Member Functions

void fetchInformation (DataSource dataSource)
 
void fetchInformation (List< DataFetchComponents< DataSource,?>> dataFetchComponents, DataSource dataSource)
 
MenuItem getArtifactNavigateItem (BlackboardArtifact artifact)
 
synchronized DataSource getDataSource ()
 
MenuItem getFileNavigateItem (String path)
 
MenuItem getFileNavigateItem (AbstractFile file)
 
void notifyParentClose ()
 
void onNewDataSource (DataSource dataSource)
 
void onNewDataSource (List< DataFetchComponents< DataSource,?>> dataFetchComponents, List<?extends LoadableComponent<?>> loadableComponents, DataSource dataSource)
 
void submit (List<?extends SwingWorker<?,?>> workers)
 

Static Protected Member Functions

static< T > T getFetchResult (DataFetcher< DataSource, T > dataFetcher, String sheetName, DataSource ds)
 

Private Member Functions

void initComponents ()
 

Private Attributes

final List< DataFetchWorker.DataFetchComponents< DataSource,?> > dataFetchComponents
 
final JTablePanel< Pair< String, Long > > hashsetHitsTable
 
final DataFetcher< DataSource, List< Pair< String, Long > > > hashsetsFetcher
 
final IngestRunningLabel ingestRunningLabel = new IngestRunningLabel()
 
final DataFetcher< DataSource, List< Pair< String, Long > > > interestingItemsFetcher
 
final JTablePanel< Pair< String, Long > > interestingItemsTable
 
final JTablePanel< Pair< String, Long > > keywordHitsTable
 
final DataFetcher< DataSource, List< Pair< String, Long > > > keywordsFetcher
 
final List< JTablePanel<?> > tables
 

Static Private Attributes

static final List< ColumnModel< Pair< String, Long >, DefaultCellModel<?> > > DEFAULT_COLUMNS
 
static final Function< Pair< String, Long >, String > DEFAULT_KEY_PROVIDER = (pair) -> pair.getKey()
 
static final long serialVersionUID = 1L
 

Detailed Description

A tab shown in data source summary displaying hash set hits, keyword hits, and interesting item hits within a datasource.

Definition at line 45 of file AnalysisPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.AnalysisPanel ( )

Creates a new DataSourceUserActivityPanel.

Definition at line 99 of file AnalysisPanel.java.

org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.AnalysisPanel ( AnalysisSummaryGetter  analysisData)

Member Function Documentation

void org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.close ( )
void org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.fetchInformation ( DataSource  dataSource)
protected

Definition at line 136 of file AnalysisPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.fetchInformation ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
DataSource  dataSource 
)
protectedinherited

Utility method to be called when solely updating information (not showing a loading screen) that creates swing workers from the data source argument and data fetch components and then submits them to run.

Parameters
dataFetchComponentsThe components to be run.
dataSourceThe data source argument.

Definition at line 426 of file BaseDataSourceSummaryPanel.java.

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getArtifactNavigateItem ( BlackboardArtifact  artifact)
protectedinherited

Given the relevant artifact, navigates to the artifact in the tree and closes data source summary dialog if open.

Parameters
artifactThe artifact.
Returns
The menu item for a go to artifact menu item.

Definition at line 255 of file BaseDataSourceSummaryPanel.java.

synchronized DataSource org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getDataSource ( )
protectedinherited
Returns
The current data source.

Definition at line 386 of file BaseDataSourceSummaryPanel.java.

static <T> T org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFetchResult ( DataFetcher< DataSource, T >  dataFetcher,
String  sheetName,
DataSource  ds 
)
staticprotectedinherited

Runs a data fetcher and returns the result handling any possible errors with a log message.

Parameters
dataFetcherThe means of fetching the data.
sheetNameThe name of the sheet.
dsThe data source.
Returns
The fetched data.

Definition at line 460 of file BaseDataSourceSummaryPanel.java.

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( String  path)
protectedinherited

Creates a menu item to navigate to a file.

Parameters
pathThe path to the file.
Returns
The menu item or null if file cannot be found in data source.

Definition at line 303 of file BaseDataSourceSummaryPanel.java.

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( AbstractFile  file)
protectedinherited

Given the relevant file, navigates to the file in the tree and closes data source summary dialog if open.

Parameters
fileThe file.
Returns
The menu item list for a go to artifact menu item.

Definition at line 331 of file BaseDataSourceSummaryPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 152 of file AnalysisPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.notifyParentClose ( )
protectedinherited

Sends event that parent should close.

Definition at line 368 of file BaseDataSourceSummaryPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.onNewDataSource ( DataSource  dataSource)
protected

Definition at line 141 of file AnalysisPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.onNewDataSource ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
List<?extends LoadableComponent<?>>  loadableComponents,
DataSource  dataSource 
)
protectedinherited

Utility method that shows a loading screen with loadable components, create swing workers from the datafetch components and data source argument and submits them to be executed.

Parameters
dataFetchComponentsThe components to register.
loadableComponentsThe components to set to a loading screen.
dataSourceThe data source argument.

Definition at line 484 of file BaseDataSourceSummaryPanel.java.

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.submit ( List<?extends SwingWorker<?,?>>  workers)
protectedinherited

Submits the following swing workers for execution in sequential order. If there are any previous workers, those workers are cancelled.

Parameters
workersThe workers to submit for execution.

Definition at line 396 of file BaseDataSourceSummaryPanel.java.

Member Data Documentation

final List<DataFetchWorker.DataFetchComponents<DataSource, ?> > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.dataFetchComponents
private

All of the components necessary for data fetch swing workers to load data for each table.

Definition at line 94 of file AnalysisPanel.java.

final List<ColumnModel<Pair<String, Long>, DefaultCellModel<?> > > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.DEFAULT_COLUMNS
staticprivate
Initial value:
= Arrays.asList(
new ColumnModel<>(
Bundle.AnalysisPanel_keyColumn_title(),
(pair) -> new DefaultCellModel<>(pair.getKey()),
300
),
new ColumnModel<>(
Bundle.AnalysisPanel_countColumn_title(),
(pair) -> new DefaultCellModel<>(pair.getValue()),
100
)
)

Definition at line 50 of file AnalysisPanel.java.

final Function<Pair<String, Long>, String> org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.DEFAULT_KEY_PROVIDER = (pair) -> pair.getKey()
staticprivate

Definition at line 64 of file AnalysisPanel.java.

final JTablePanel<Pair<String, Long> > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.hashsetHitsTable
private
Initial value:
= JTablePanel.getJTablePanel(DEFAULT_COLUMNS)
.setKeyFunction(DEFAULT_KEY_PROVIDER)

Definition at line 71 of file AnalysisPanel.java.

final DataFetcher<DataSource, List<Pair<String, Long> > > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.hashsetsFetcher
private

Definition at line 66 of file AnalysisPanel.java.

final IngestRunningLabel org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.ingestRunningLabel = new IngestRunningLabel()
private

Definition at line 88 of file AnalysisPanel.java.

final DataFetcher<DataSource, List<Pair<String, Long> > > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.interestingItemsFetcher
private

Definition at line 68 of file AnalysisPanel.java.

final JTablePanel<Pair<String, Long> > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.interestingItemsTable
private
Initial value:
= JTablePanel.getJTablePanel(DEFAULT_COLUMNS)
.setKeyFunction(DEFAULT_KEY_PROVIDER)

Definition at line 79 of file AnalysisPanel.java.

final JTablePanel<Pair<String, Long> > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.keywordHitsTable
private
Initial value:
= JTablePanel.getJTablePanel(DEFAULT_COLUMNS)
.setKeyFunction(DEFAULT_KEY_PROVIDER)

Definition at line 75 of file AnalysisPanel.java.

final DataFetcher<DataSource, List<Pair<String, Long> > > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.keywordsFetcher
private

Definition at line 67 of file AnalysisPanel.java.

final long org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.serialVersionUID = 1L
staticprivate

Definition at line 47 of file AnalysisPanel.java.

final List<JTablePanel<?> > org.sleuthkit.autopsy.datasourcesummary.ui.AnalysisPanel.tables
private
Initial value:

Definition at line 82 of file AnalysisPanel.java.


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

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