Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.core.RuntimeProperties Class Reference

Classes

class  RuntimePropertiesException
 

Static Public Member Functions

static synchronized boolean isRunningInTarget ()
 
static synchronized boolean runningWithGUI ()
 
static synchronized void setRunningInTarget (boolean runningInTarget) throws RuntimePropertiesException
 
static synchronized void setRunningWithGUI (boolean runningWithGUI) throws RuntimePropertiesException
 

Private Member Functions

 RuntimeProperties ()
 

Static Private Attributes

static boolean runningInTarget = false
 
static boolean runningInTargetFlagHasBeenSet = false
 
static boolean runningWithGUI = true
 
static boolean runningWithGUIFlagHasBeenSet = false
 

Detailed Description

Application properties that are set once at runtime and are not saved between invocations of Autopsy.

Definition at line 25 of file RuntimeProperties.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.core.RuntimeProperties.RuntimeProperties ( )
private

Private constructor to prevent creation of instances of this class.

Definition at line 90 of file RuntimeProperties.java.

Member Function Documentation

static synchronized boolean org.sleuthkit.autopsy.core.RuntimeProperties.isRunningInTarget ( )
static

Gets a flag indicating whether or not the application is running in a target system

Returns
True or false.

Definition at line 73 of file RuntimeProperties.java.

References org.sleuthkit.autopsy.core.RuntimeProperties.runningInTarget.

Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.checkForLiveAutopsy().

static synchronized boolean org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI ( )
static

Gets a flag indicating whether or not the application is running with a GUI.

Returns
True or false.

Definition at line 83 of file RuntimeProperties.java.

Referenced by org.sleuthkit.autopsy.core.RuntimeProperties.setRunningWithGUI().

static synchronized void org.sleuthkit.autopsy.core.RuntimeProperties.setRunningInTarget ( boolean  runningInTarget) throws RuntimePropertiesException
static

Sets or unsets a flag indicating whether or not the application is running in a target system. The flag can only be set once per application innvocation

Parameters
runningInTarget
Exceptions
RuntimePropertiesExceptionif the flag has already been set

Definition at line 59 of file RuntimeProperties.java.

References org.sleuthkit.autopsy.core.RuntimeProperties.runningInTarget.

Referenced by org.sleuthkit.autopsy.core.AutopsyOptionProcessor.process().

static synchronized void org.sleuthkit.autopsy.core.RuntimeProperties.setRunningWithGUI ( boolean  runningWithGUI) throws RuntimePropertiesException
static

Sets or unsets a flag indicating whether or not the application is running with a GUI. The flag can only be set once per application innvocation.

Parameters
runningWithGUITrue or false.
Exceptions
RuntimePropertiesExceptionif the flag has already been set.

Definition at line 41 of file RuntimeProperties.java.

References org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.JobProcessingTask().

Member Data Documentation

boolean org.sleuthkit.autopsy.core.RuntimeProperties.runningInTarget = false
staticprivate
boolean org.sleuthkit.autopsy.core.RuntimeProperties.runningInTargetFlagHasBeenSet = false
staticprivate

Definition at line 30 of file RuntimeProperties.java.

boolean org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI = true
staticprivate

Definition at line 27 of file RuntimeProperties.java.

Referenced by org.sleuthkit.autopsy.ingest.IngestManager.beginIngestJob(), org.sleuthkit.autopsy.ingest.IngestManager.StartIngestJobTask.call(), org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.cancel(), org.sleuthkit.autopsy.casemodule.Case.close(), org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentOpened(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.configureSettings(), org.sleuthkit.autopsy.casemodule.Case.deleteCase(), org.sleuthkit.autopsy.python.JythonModuleLoader.getInterfaceImplementations(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getValidFilePath(), org.sleuthkit.autopsy.casemodule.Case.open(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources(), org.sleuthkit.autopsy.communications.OpenCommVisualizationToolAction.OpenCommVisualizationToolAction(), org.sleuthkit.autopsy.keywordsearch.DropdownToolbar.SearchSettingsChangeListener.propertyChange(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.propertyChange(), org.sleuthkit.autopsy.ingest.IngestManager.queueIngestJob(), org.sleuthkit.autopsy.report.ReportWizardAction.ReportWizardAction(), org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.restored(), org.sleuthkit.autopsy.core.RuntimeProperties.setRunningWithGUI(), org.sleuthkit.autopsy.ingest.IngestManager.startIngestJob(), org.sleuthkit.autopsy.ingest.IngestManager.subscribeToServiceMonitorEvents(), org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseClosed(), and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().

boolean org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUIFlagHasBeenSet = false
staticprivate

Definition at line 28 of file RuntimeProperties.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.