@Service public interface CommonPaths
Some configuration files or directories are system-wide while others are per-user. System-wide file or directories are indicated by the word System in the name. These should contain non-mutable data that is meant to be used by all instances of thermostat running on one machine. Per-user directories will normally contain configuration and data specific for a different instance of thermostat. Per-user files and directories indicated by the word "User" in the method name.
The directories are split according to functionality, along the lines of Filesystem Hierarchy Standard (FHS).
Modifier and Type | Method and Description |
---|---|
File |
getSystemAgentAuthConfigFile() |
File |
getSystemAgentConfigurationFile() |
File |
getSystemBinRoot() |
File |
getSystemConfigurationDirectory() |
File |
getSystemLibRoot() |
File |
getSystemNativeLibsRoot() |
File |
getSystemPluginRoot() |
File |
getSystemStorageConfigurationFile() |
File |
getSystemThermostatHome() |
File |
getUserAgentAuthConfigFile() |
File |
getUserAgentConfigurationFile() |
File |
getUserCacheDirectory() |
File |
getUserClientConfigurationFile() |
File |
getUserConfigurationDirectory() |
File |
getUserHistoryFile() |
File |
getUserLogDirectory() |
File |
getUserPersistentDataDirectory()
A location that contains data that is persisted
|
File |
getUserPluginRoot() |
File |
getUserRuntimeDataDirectory()
Contains data that is only useful for the duration that thermostat is running
|
File |
getUserStorageConfigurationFile() |
File |
getUserStorageDirectory() |
File |
getUserStorageLogFile() |
File |
getUserStoragePidFile() |
File |
getUserThermostatHome() |
File getSystemThermostatHome() throws InvalidConfigurationException
InvalidConfigurationException
File getUserThermostatHome() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemPluginRoot() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemLibRoot() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemBinRoot() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemNativeLibsRoot() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemConfigurationDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserConfigurationDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserPersistentDataDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserRuntimeDataDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserLogDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserCacheDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getUserPluginRoot() throws InvalidConfigurationException
InvalidConfigurationException
File getUserStorageDirectory() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemStorageConfigurationFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserStorageConfigurationFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserStorageLogFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserStoragePidFile() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemAgentConfigurationFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserAgentConfigurationFile() throws InvalidConfigurationException
InvalidConfigurationException
File getSystemAgentAuthConfigFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserAgentAuthConfigFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserClientConfigurationFile() throws InvalidConfigurationException
InvalidConfigurationException
File getUserHistoryFile() throws InvalidConfigurationException
InvalidConfigurationException
Copyright © 2014. All rights reserved.