Autopsy  4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb Class Reference

Inherits org.sleuthkit.autopsy.report.GeneralReportModule.

Public Member Functions

 SaveTaggedHashesToHashDb ()
 
void generateReport (String reportPath, ReportProgressPanel progressPanel)
 
ReportModuleSettings getConfiguration ()
 
JPanel getConfigurationPanel ()
 
ReportModuleSettings getDefaultConfiguration ()
 
String getDescription ()
 
String getName ()
 
String getRelativeFilePath ()
 
void setConfiguration (ReportModuleSettings settings)
 

Private Member Functions

void initializePanel ()
 

Private Attributes

SaveTaggedHashesToHashDbConfigPanel configPanel
 

Static Private Attributes

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

Detailed Description

Instances of this class plug in to the reporting infrastructure to provide a convenient way to add content hashes to hash set databases.

Definition at line 47 of file SaveTaggedHashesToHashDb.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.SaveTaggedHashesToHashDb ( )

Definition at line 52 of file SaveTaggedHashesToHashDb.java.

Member Function Documentation

void org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport ( String  baseReportDir,
ReportProgressPanel  progressPanel 
)

Called to generate the report. Method is responsible for saving the file at the path specified and updating progress via the progressPanel object.

Parameters
baseReportDirBase directory that reports are being stored in. Report should go into baseReportDir + getRelativeFilePath().
progressPanelpanel to update the report's progress with

Implements org.sleuthkit.autopsy.report.GeneralReportModule.

Definition at line 118 of file SaveTaggedHashesToHashDb.java.

References org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.addHashes(), org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE, org.sleuthkit.autopsy.report.ReportProgressPanel.complete(), org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.ERROR, org.sleuthkit.autopsy.casemodule.services.TagsManager.getContentTagsByTagName(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getDisplayName(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getHashSetName(), org.sleuthkit.autopsy.coreutils.Logger.getLogger(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getName(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org.sleuthkit.autopsy.report.ReportProgressPanel.getStatus(), org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager(), org.sleuthkit.autopsy.report.ReportProgressPanel.setIndeterminate(), org.sleuthkit.autopsy.report.ReportProgressPanel.start(), and org.sleuthkit.autopsy.report.ReportProgressPanel.updateStatusLabel().

ReportModuleSettings org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getConfiguration ( )

Get current configuration for this report module.

Returns
Object which contains current report module settings.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 86 of file SaveTaggedHashesToHashDb.java.

JPanel org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getConfigurationPanel ( )

Returns the configuration panel for the report, which is displayed in the report configuration step of the report wizard.

Returns
Configuration panel or null if the module does not need configuration.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 200 of file SaveTaggedHashesToHashDb.java.

ReportModuleSettings org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getDefaultConfiguration ( )

Get default configuration for this report module.

Returns
Object which contains default report module settings.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 76 of file SaveTaggedHashesToHashDb.java.

String org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getDescription ( )

Gets a one-line, user friendly description of the type of report this module generates.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 61 of file SaveTaggedHashesToHashDb.java.

String org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getName ( )

Get the name of the report this module generates.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 56 of file SaveTaggedHashesToHashDb.java.

Referenced by org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport().

String org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.getRelativeFilePath ( )

Gets the relative path of the report file, if any, generated by this module. The path should be relative to the location that gets passed in to generateReport() (or similar).

Returns
Relative path to where report will be stored. Return an empty string if the location passed to generateReport() is the output location. Return null to indicate that there is no report file.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 66 of file SaveTaggedHashesToHashDb.java.

void org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.initializePanel ( )
private

Definition at line 205 of file SaveTaggedHashesToHashDb.java.

void org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.setConfiguration ( ReportModuleSettings  settings)

Set report module configuration.

Parameters
settingsObject which contains report module settings.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 97 of file SaveTaggedHashesToHashDb.java.

Member Data Documentation

SaveTaggedHashesToHashDbConfigPanel org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.configPanel
private

Definition at line 50 of file SaveTaggedHashesToHashDb.java.

final Logger org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.logger = Logger.getLogger(SaveTaggedHashesToHashDb.class.getName())
staticprivate

Definition at line 49 of file SaveTaggedHashesToHashDb.java.


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.