Autopsy
4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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 |
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.
|
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().
|
private |
Adds the application event listeners responsible for adding data to the central repository.
Definition at line 103 of file Installer.java.
References org.sleuthkit.autopsy.casemodule.Case.addPropertyChangeListener(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener.installListeners().
Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.restored().
|
private |
Display a central repository exception in a message box if running with a GUI.
ex | The 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 |
Gets 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 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 | ( | ) |
Definition at line 91 of file Installer.java.
References org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.addApplicationEventListeners(), org.sleuthkit.autopsy.coreutils.Version.getBuildType(), org.sleuthkit.autopsy.coreutils.Version.Type.RELEASE, and org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultCentralRepository().
|
private |
Checks if the central repository has been set up and configured. If not, either offers to perform set up (running with a GUI) or does the set up unconditionally (not running with a GUI, e.g., in an automated ingest node).
Definition at line 114 of file Installer.java.
References org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.doMessageBoxIfRunningInGUI(), org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSettings(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.setupDefaultSqliteCentralRepo().
Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.restored().
|
private |
Sets up a default single-user SQLite central repository.
CentralRepoException | If 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 | ( | ) |
Definition at line 211 of file Installer.java.
References org.sleuthkit.autopsy.casemodule.Case.removePropertyChangeListener(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener.uninstallListeners().
|
private |
Definition at line 48 of file Installer.java.
|
private |
Definition at line 49 of file Installer.java.
|
staticprivate |
Definition at line 47 of file Installer.java.
Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getDefault().
|
staticprivate |
Definition at line 45 of file Installer.java.
|
staticprivate |
Definition at line 46 of file Installer.java.
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.