Autopsy  4.22.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | 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 ()
 
String getSettingsFilePath (String moduleName)
 
void upgradeSettingsPath ()
 

Static Private Attributes

static Installer instance
 
static final String LEGACY_DEFAULT_DB_PARENT_PATH = Paths.get(PlatformUtil.getUserDirectory().getAbsolutePath(), LEGACY_DEFAULT_FOLDER).toAbsolutePath().toString()
 
static final String LEGACY_DEFAULT_FOLDER = "central_repository"
 
static final String LEGACY_MODULE_SETTINGS_KEY = "CentralRepository"
 
static final Logger logger = Logger.getLogger(Installer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

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 38 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 68 of file Installer.java.

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

Member Function Documentation

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 56 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().

String org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getSettingsFilePath ( String  moduleName)
private

Path to module settings path.

Parameters
moduleNameThe full name of the module provided to ModuleSettings.
Returns
The path on disk for that object. NOTE: This must be in sync with ModuleSettings.

Definition at line 96 of file Installer.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.getUserConfigDirectory().

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

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

Definition at line 145 of file Installer.java.

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

Member Data Documentation

Installer org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.instance
staticprivate
final String org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.LEGACY_DEFAULT_DB_PARENT_PATH = Paths.get(PlatformUtil.getUserDirectory().getAbsolutePath(), LEGACY_DEFAULT_FOLDER).toAbsolutePath().toString()
staticprivate

Definition at line 41 of file Installer.java.

final String org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.LEGACY_DEFAULT_FOLDER = "central_repository"
staticprivate

Definition at line 40 of file Installer.java.

final String org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.LEGACY_MODULE_SETTINGS_KEY = "CentralRepository"
staticprivate

Definition at line 42 of file Installer.java.

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

Definition at line 44 of file Installer.java.

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

Definition at line 45 of file Installer.java.


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

Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.