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

Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.

Public Member Functions

 TypesSummary ()
 
 TypesSummary (SleuthkitCaseProvider provider)
 
default Set< Case.Events > getCaseEventUpdates ()
 
Long getCountOfAllocatedFiles (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Long getCountOfDirectories (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Long getCountOfFiles (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Long getCountOfSlackFiles (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Long getCountOfUnallocatedFiles (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Set< IngestManager.IngestJobEvent > getIngestJobEventUpdates ()
 
default boolean isRefreshRequired (ModuleDataEvent evt)
 
default boolean isRefreshRequired (IngestManager.IngestJobEvent evt)
 
boolean isRefreshRequired (ModuleContentEvent evt)
 
boolean isRefreshRequired (AbstractFile file)
 
boolean isRefreshRequired (IngestManager.IngestJobEvent evt)
 
default boolean isRefreshRequiredForCaseEvent (PropertyChangeEvent evt)
 

Private Attributes

final SleuthkitCaseProvider provider
 

Static Private Attributes

static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS
 

Detailed Description

Provides information for the DataSourceSummaryCountsPanel.

Definition at line 37 of file TypesSummary.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.TypesSummary ( )
org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.TypesSummary ( SleuthkitCaseProvider  provider)

Main constructor.

Parameters
providerThe means of obtaining a sleuthkit case.

Definition at line 56 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.provider.

Member Function Documentation

default Set<Case.Events> org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.getCaseEventUpdates ( )
inherited
Returns
The set of Case Events for which data should be updated.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Definition at line 57 of file DefaultUpdateGovernor.java.

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getCountOfAllocatedFiles ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Get count of allocated files in a data source.

Parameters
currentDataSourceThe data source.
Returns
The count.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 111 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getCountOfDirectories ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Get count of directories in a data source.

Parameters
currentDataSourceThe data source.
Returns
The count.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 147 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getCountOfFiles ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Get count of regular files (not directories) in a data source.

Parameters
currentDataSourceThe data source.
Returns
The count.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 91 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getCountOfSlackFiles ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Get count of slack files in a data source.

Parameters
currentDataSourceThe data source.
Returns
The count.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 166 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getCountOfUnallocatedFiles ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Get count of unallocated files in a data source.

Parameters
currentDataSourceThe data source.
Returns
The count.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 129 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getIngestJobEventUpdates ( )
Returns
The set of Ingest Job Events for which data should be updated.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.

Definition at line 76 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.INGEST_JOB_EVENTS.

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequired ( ModuleDataEvent  evt)
inherited

Given a module data event, whether or not an update should occur.

Parameters
evtThe ModuleDataEvent that is occurring.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.

Definition at line 47 of file DefaultUpdateGovernor.java.

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequired ( IngestManager.IngestJobEvent  evt)
inherited
boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.isRefreshRequired ( ModuleContentEvent  evt)

Given a module content event, whether or not an update should occur.

Parameters
evtThe ModuleContentEvent.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.

Definition at line 61 of file TypesSummary.java.

boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.isRefreshRequired ( AbstractFile  evt)

Whether or not a newly added AbstractFile should trigger an update.

Parameters
evtThe AbstractFile.
Returns
True if an update should occur.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.

Definition at line 66 of file TypesSummary.java.

boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.isRefreshRequired ( IngestManager.IngestJobEvent  evt)

Given an ingest job event, determines whether or not an update should occur.

Parameters
evtThe event.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Definition at line 71 of file TypesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.INGEST_JOB_EVENTS.

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequiredForCaseEvent ( PropertyChangeEvent  evt)
inherited

Given a case event, whether or not an update should occur.

Parameters
evtThe event.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Definition at line 37 of file DefaultUpdateGovernor.java.

Member Data Documentation

final Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.INGEST_JOB_EVENTS
staticprivate
Initial value:
= new HashSet<>(
Arrays.asList(IngestManager.IngestJobEvent.COMPLETED, IngestManager.IngestJobEvent.CANCELLED))

Definition at line 39 of file TypesSummary.java.

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.getIngestJobEventUpdates(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.isRefreshRequired().

final SleuthkitCaseProvider org.sleuthkit.autopsy.datasourcesummary.datamodel.TypesSummary.provider
private

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

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