Interface SystemManager
public interface SystemManager
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data directory for the system.Provides the path to the lib folder, which holds all the jars used by Ignition.Provides the path to thelocal
folder.Provides the path to thelogs
folder.Returns a temp dir that is managed by the context (cleaned out on startup.)Provides the path to theuserlib
folder.
-
Method Details
-
getDataDir
File getDataDir()Returns the data directory for the system. All created data will be contained in this folder.- Returns:
- a File object representing the data folder.
-
getLibDir
File getLibDir()Provides the path to the lib folder, which holds all the jars used by Ignition. This value is always relative to the installation folder.- Returns:
- a File object representing the lib folder.
-
getUserLibDir
File getUserLibDir()Provides the path to theuserlib
folder. The userlib folder contains binaries that can be changed by the user. These binaries include the modules and the jdbc jars. The value is taken from theuserlib.dir
context parameter in webserver/webapps/main/WEB-INF/web.xml.- Returns:
- a File object representing the userlib folder.
-
getLogsDir
File getLogsDir()Provides the path to thelogs
folder. The logs folder holds all the important log files used by Ignition. The value is taken from thelogs.dir
context parameter in webserver/webapps/main/WEB-INF/web.xml.- Returns:
- a File object representing the logs folder.
-
getTempDir
File getTempDir()Returns a temp dir that is managed by the context (cleaned out on startup.) -
getEtcDir
File getEtcDir() -
getLocalDir
File getLocalDir()Provides the path to thelocal
folder. The local folder contains all internal database files for the local historian, audit log, and alarm journal. Excluded from gateway backups. The value is taken from thelocal.dir
context parameter in webserver/webapps/main/WEB-INF/web.xml.- Returns:
- a File object representing the local folder.
-