Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
enum | SelectedMode |
Static Public Member Functions | |
static void | addChangeListener (PreferenceChangeListener listener) |
static boolean | displayTimesInLocalTime () |
static String | getAppName () |
static CaseDbConnectionInfo | getDatabaseConnectionInfo () throws UserPreferencesException |
static int | getDefaultLogFileCount () |
static String | getIndexingServerHost () |
static String | getIndexingServerPort () |
static boolean | getIsMultiUserModeEnabled () |
static boolean | getIsTimeOutEnabled () |
static int | getLogFileCount () |
static MessageServiceConnectionInfo | getMessageServiceConnectionInfo () throws UserPreferencesException |
static SelectedMode | getMode () |
static int | getProcessTimeOutHrs () |
static boolean | hideKnownFilesInDataSourcesTree () |
static boolean | hideKnownFilesInViewsTree () |
static boolean | hideSlackFilesInDataSourcesTree () |
static boolean | hideSlackFilesInViewsTree () |
static boolean | keepPreferredContentViewer () |
static int | numberOfFileIngestThreads () |
static void | reloadFromStorage () throws BackingStoreException |
static void | removeChangeListener (PreferenceChangeListener listener) |
static void | saveToStorage () throws BackingStoreException |
static void | setAppName (String name) |
static void | setDatabaseConnectionInfo (CaseDbConnectionInfo connectionInfo) throws UserPreferencesException |
static void | setDisplayTimesInLocalTime (boolean value) |
static void | setHideKnownFilesInDataSourcesTree (boolean value) |
static void | setHideKnownFilesInViewsTree (boolean value) |
static void | setHideSlackFilesInDataSourcesTree (boolean value) |
static void | setHideSlackFilesInViewsTree (boolean value) |
static void | setIndexingServerHost (String hostName) |
static void | setIndexingServerPort (int port) |
static void | setIsMultiUserModeEnabled (boolean enabled) |
static void | setIsTimeOutEnabled (boolean enabled) |
static void | setKeepPreferredContentViewer (boolean value) |
static void | setLogFileCount (int count) |
static void | setMessageServiceConnectionInfo (MessageServiceConnectionInfo info) throws UserPreferencesException |
static void | setMode (SelectedMode mode) |
static void | setNumberOfFileIngestThreads (int value) |
static void | setProcessTimeOutHrs (int value) |
Static Public Attributes | |
static final String | DISPLAY_TIMES_IN_LOCAL_TIME = "DisplayTimesInLocalTime" |
static final String | EXTERNAL_DATABASE_HOSTNAME_OR_IP = "ExternalDatabaseHostnameOrIp" |
static final String | EXTERNAL_DATABASE_NAME = "ExternalDatabaseName" |
static final String | EXTERNAL_DATABASE_PASSWORD = "ExternalDatabasePassword" |
static final String | EXTERNAL_DATABASE_PORTNUMBER = "ExternalDatabasePortNumber" |
static final String | EXTERNAL_DATABASE_TYPE = "ExternalDatabaseType" |
static final String | EXTERNAL_DATABASE_USER = "ExternalDatabaseUsername" |
static final String | HIDE_KNOWN_FILES_IN_DATA_SRCS_TREE = "HideKnownFilesInDataSourcesTree" |
static final String | HIDE_KNOWN_FILES_IN_VIEWS_TREE = "HideKnownFilesInViewsTree" |
static final String | HIDE_SLACK_FILES_IN_DATA_SRCS_TREE = "HideSlackFilesInDataSourcesTree" |
static final String | HIDE_SLACK_FILES_IN_VIEWS_TREE = "HideSlackFilesInViewsTree" |
static final String | INDEXING_SERVER_HOST = "IndexingServerHost" |
static final String | INDEXING_SERVER_PORT = "IndexingServerPort" |
static final String | IS_MULTI_USER_MODE_ENABLED = "IsMultiUserModeEnabled" |
static final String | KEEP_PREFERRED_VIEWER = "KeepPreferredViewer" |
static final String | NUMBER_OF_FILE_INGEST_THREADS = "NumberOfFileIngestThreads" |
static final String | PROCESS_TIME_OUT_ENABLED = "ProcessTimeOutEnabled" |
static final String | PROCESS_TIME_OUT_HOURS = "ProcessTimeOutHours" |
static final String | SETTINGS_PROPERTIES = "AutoIngest" |
Private Member Functions | |
UserPreferences () | |
Static Private Attributes | |
static final String | APP_NAME = "AppName" |
static final int | DEFAULT_PORT_INT = 61616 |
static final String | DEFAULT_PORT_STRING = "61616" |
static final int | DEFAULT_PROCESS_TIMEOUT_HR = 60 |
static final boolean | IS_WINDOWS_OS = PlatformUtil.isWindowsOS() |
static final int | LOG_FILE_NUM_INT = 10 |
static final String | MAX_NUM_OF_LOG_FILE = "MaximumNumberOfLogFiles" |
static final String | MESSAGE_SERVICE_HOST = "MessageServiceHost" |
static final String | MESSAGE_SERVICE_PASSWORD = "MessageServicePassword" |
static final String | MESSAGE_SERVICE_PORT = "MessageServicePort" |
static final String | MESSAGE_SERVICE_USER = "MessageServiceUser" |
static final String | MODE = "AutopsyMode" |
static final Preferences | preferences = NbPreferences.forModule(UserPreferences.class) |
Provides convenient access to a Preferences node for user preferences with default values.
Definition at line 38 of file UserPreferences.java.
|
private |
Definition at line 74 of file UserPreferences.java.
|
static |
Definition at line 126 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents().
|
static |
Definition at line 174 of file UserPreferences.java.
|
static |
Get the display name for this program
Definition at line 358 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.Version.getName().
Referenced by org.sleuthkit.autopsy.casemodule.Case.getAppName(), org.sleuthkit.autopsy.casemodule.Case.getNameForTitle(), and org.sleuthkit.autopsy.livetriage.CreateLiveTriageDriveAction.performAction().
|
static |
Reads persisted case database connection info.
Definition at line 197 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.TextConverter.convertHexTextToText().
Referenced by org.sleuthkit.autopsy.core.ServicesMonitor.checkDatabaseConnectionStatus(), org.sleuthkit.autopsy.casemodule.Case.createCaseData(), org.sleuthkit.autopsy.healthmonitor.EnterpriseHealthMonitor.createDatabase(), org.sleuthkit.autopsy.healthmonitor.EnterpriseHealthMonitor.databaseExists(), org.sleuthkit.autopsy.casemodule.Case.deleteCase(), org.sleuthkit.autopsy.casemodule.SingleUserCaseConverter.ImportCaseData.ImportCaseData(), org.sleuthkit.autopsy.casemodule.Case.openCaseData(), and org.sleuthkit.autopsy.healthmonitor.EnterpriseHealthMonitor.setupConnectionPool().
|
static |
get the default number of log files to save
Definition at line 383 of file UserPreferences.java.
References org.sleuthkit.autopsy.core.UserPreferences.LOG_FILE_NUM_INT.
|
static |
Definition at line 244 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.core.ServicesMonitor.checkKeywordSearchServerConnectionStatus(), org.sleuthkit.autopsy.coordinationservice.CoordinationService.CoordinationService(), org.sleuthkit.autopsy.keywordsearch.Server.getMultiUserServerProperties(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.isZooKeeperAccessible().
|
static |
Definition at line 252 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.core.ServicesMonitor.checkKeywordSearchServerConnectionStatus(), org.sleuthkit.autopsy.coordinationservice.CoordinationService.CoordinationService(), org.sleuthkit.autopsy.keywordsearch.Server.getMultiUserServerProperties(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.isZooKeeperAccessible().
|
static |
Definition at line 240 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.casemodule.CaseOpenAction.actionPerformed(), org.sleuthkit.autopsy.healthmonitor.EnterpriseHealthMonitor.activateMonitorLocally(), org.sleuthkit.autopsy.core.ServicesMonitor.checkAllServices(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.openCaseData().
|
static |
Reads persisted setting of whether process time out functionality is enabled.
Definition at line 337 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.TimedProcessTerminator().
|
static |
get the maximum number of log files to save
Definition at line 375 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.coreutils.Logger.createFileHandlerWithTraces().
|
static |
Reads persisted message service connection info.
Definition at line 285 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.TextConverter.convertHexTextToText(), and org.sleuthkit.autopsy.core.UserPreferences.DEFAULT_PORT_INT.
Referenced by org.sleuthkit.autopsy.core.ServicesMonitor.checkMessagingServerConnectionStatus(), and org.sleuthkit.autopsy.events.AutopsyEventPublisher.openRemoteEventChannel().
|
static |
Get mode from persistent storage.
Definition at line 88 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), org.sleuthkit.autopsy.coreutils.ModuleSettings.settingExists(), and org.sleuthkit.autopsy.core.UserPreferences.SelectedMode.STANDALONE.
|
static |
Reads persisted process time out value.
Definition at line 310 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.TimedProcessTerminator().
|
static |
Definition at line 142 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction().
|
static |
Definition at line 150 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.datamodel.FileTypesByExtension.createQuery().
|
static |
Definition at line 158 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction().
|
static |
Definition at line 166 of file UserPreferences.java.
|
static |
Definition at line 134 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataContentPanel.setupTabs().
|
static |
Definition at line 182 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.ingest.IngestManager.IngestManager().
|
static |
Reload all preferences from disk. This is only needed if the preferences file is being directly modified on disk while Autopsy is running.
BackingStoreException |
Definition at line 111 of file UserPreferences.java.
|
static |
Definition at line 130 of file UserPreferences.java.
|
static |
Saves the current preferences to storage. This is only needed if the preferences files are going to be copied to another location while Autopsy is running.
BackingStoreException |
Definition at line 122 of file UserPreferences.java.
|
static |
Set the display name for this program
name | Display name |
Definition at line 367 of file UserPreferences.java.
|
static |
Persists case database connection info.
connectionInfo | An object encapsulating the database connection info. |
Definition at line 224 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.TextConverter.convertTextToHexText().
Referenced by org.sleuthkit.autopsy.testing.AutopsyTestCases.setMultiUserPerferences().
|
static |
Definition at line 178 of file UserPreferences.java.
|
static |
Definition at line 146 of file UserPreferences.java.
|
static |
Definition at line 154 of file UserPreferences.java.
|
static |
Definition at line 162 of file UserPreferences.java.
|
static |
Definition at line 170 of file UserPreferences.java.
|
static |
Definition at line 248 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.testing.AutopsyTestCases.setMultiUserPerferences().
|
static |
Definition at line 256 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.testing.AutopsyTestCases.setMultiUserPerferences().
|
static |
Definition at line 236 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.testing.AutopsyTestCases.AutopsyTestCases(), and org.sleuthkit.autopsy.testing.AutopsyTestCases.setMultiUserPerferences().
|
static |
Stores persisted setting of whether process time out functionality is enabled.
enabled | Persisted setting of whether process time out functionality is enabled. |
Definition at line 349 of file UserPreferences.java.
|
static |
Definition at line 138 of file UserPreferences.java.
|
static |
Set the maximum number of log files to save
count | number of log files |
Definition at line 390 of file UserPreferences.java.
|
static |
Persists message service connection info.
info | An object encapsulating the message service info. |
Definition at line 267 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.TextConverter.convertTextToHexText().
Referenced by org.sleuthkit.autopsy.testing.AutopsyTestCases.setMultiUserPerferences().
|
static |
Set mode to persistent storage.
mode | Selected mode. |
Definition at line 101 of file UserPreferences.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
Referenced by org.sleuthkit.autopsy.core.Installer.updateConfig().
|
static |
Definition at line 186 of file UserPreferences.java.
|
static |
Stores persisted process time out value.
value | Persisted process time out value (hours). |
Definition at line 323 of file UserPreferences.java.
|
staticprivate |
Definition at line 67 of file UserPreferences.java.
|
staticprivate |
Definition at line 66 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.core.UserPreferences.getMessageServiceConnectionInfo().
|
staticprivate |
Definition at line 65 of file UserPreferences.java.
|
staticprivate |
Definition at line 64 of file UserPreferences.java.
|
static |
Definition at line 47 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
|
static |
Definition at line 50 of file UserPreferences.java.
|
static |
Definition at line 52 of file UserPreferences.java.
|
static |
Definition at line 54 of file UserPreferences.java.
|
static |
Definition at line 51 of file UserPreferences.java.
|
static |
Definition at line 55 of file UserPreferences.java.
|
static |
Definition at line 53 of file UserPreferences.java.
|
static |
Definition at line 43 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents().
|
static |
Definition at line 44 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents().
|
static |
Definition at line 45 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents().
|
static |
Definition at line 46 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents().
|
static |
Definition at line 56 of file UserPreferences.java.
|
static |
Definition at line 57 of file UserPreferences.java.
|
static |
Definition at line 49 of file UserPreferences.java.
|
staticprivate |
Definition at line 40 of file UserPreferences.java.
|
static |
Definition at line 42 of file UserPreferences.java.
|
staticprivate |
Definition at line 71 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.core.UserPreferences.getDefaultLogFileCount().
|
staticprivate |
Definition at line 70 of file UserPreferences.java.
|
staticprivate |
Definition at line 60 of file UserPreferences.java.
|
staticprivate |
Definition at line 58 of file UserPreferences.java.
|
staticprivate |
Definition at line 61 of file UserPreferences.java.
|
staticprivate |
Definition at line 59 of file UserPreferences.java.
|
staticprivate |
Definition at line 69 of file UserPreferences.java.
|
static |
Definition at line 48 of file UserPreferences.java.
|
staticprivate |
Definition at line 41 of file UserPreferences.java.
|
static |
Definition at line 62 of file UserPreferences.java.
|
static |
Definition at line 63 of file UserPreferences.java.
|
static |
Definition at line 68 of file UserPreferences.java.
Referenced by org.sleuthkit.autopsy.core.Installer.updateConfig().
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.