Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer Class Reference

Inherits ModuleInstall.

Public Member Functions

void restored ()
 
void uninstalled ()
 

Static Public Member Functions

static synchronized Installer getDefault ()
 

Private Member Functions

 Installer ()
 
void addApplicationEventListeners ()
 
void doMessageBoxIfRunningInGUI (CentralRepoException ex)
 
void setupDefaultCentralRepository ()
 
void setupDefaultSqliteCentralRepo () throws CentralRepoException
 

Private Attributes

final CaseEventListener caseEventListener = new CaseEventListener()
 
final IngestEventsListener ingestEventListener = new IngestEventsListener()
 

Static Private Attributes

static Installer instance
 
static final Logger logger = Logger.getLogger(Installer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

Adds/removes application event listeners responsible for adding data to the central repository, sets up a default, single-user SQLite central repository if no central repository is configured, and updates the central repository schema as required.

Definition at line 43 of file Installer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.Installer ( )
private

Constructs the singleton "package installer" used by the registered Installer for the Autopsy-Core module located in the org.sleuthkit.autopsy.core package.

Definition at line 71 of file Installer.java.

Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getDefault().

Member Function Documentation

void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.addApplicationEventListeners ( )
private
void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.doMessageBoxIfRunningInGUI ( CentralRepoException  ex)
private

Display a central repository exception in a message box if running with a GUI.

Parameters
exThe exception.

Definition at line 195 of file Installer.java.

References org.sleuthkit.autopsy.exceptions.AutopsyException.getUserMessage(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.

Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultCentralRepository().

static synchronized Installer org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getDefault ( )
static

Gets the singleton "package installer" used by the registered Installer for the Autopsy-Core module located in the org.sleuthkit.autopsy.core package.

Returns
The "package installer" singleton for the org.sleuthkit.autopsy.centralrepository.eventlisteners package.

Definition at line 59 of file Installer.java.

References org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.Installer(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.instance.

Referenced by org.sleuthkit.autopsy.core.Installer.Installer().

void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.restored ( )
void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultCentralRepository ( )
private
void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultSqliteCentralRepo ( ) throws CentralRepoException
private

Sets up a default single-user SQLite central repository.

Exceptions
CentralRepoExceptionIf there is an error setting up teh central repository.

Definition at line 183 of file Installer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.setupDefaultSqliteDb().

Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultCentralRepository().

void org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.uninstalled ( )

Member Data Documentation

final CaseEventListener org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.caseEventListener = new CaseEventListener()
private

Definition at line 48 of file Installer.java.

final IngestEventsListener org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.ingestEventListener = new IngestEventsListener()
private

Definition at line 49 of file Installer.java.

Installer org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.instance
staticprivate
final Logger org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.logger = Logger.getLogger(Installer.class.getName())
staticprivate

Definition at line 45 of file Installer.java.

final long org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.serialVersionUID = 1L
staticprivate

Definition at line 46 of file Installer.java.


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

Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.