Package de.xima.fc.ms
Class MSSystemStatusChecker
java.lang.Object
de.xima.fc.ms.MSSystemStatusChecker
- All Implemented Interfaces:
ISystemStatusChecker
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MSSystemStatusCheckerbooleanChecks whether the system database can be accessed.booleanDetermines if the form module is running.booleanDetermines if the management module is running.booleanDetermines if the system is up to date.
-
Field Details
-
INST
Deprecated.UsegetInstance()
-
-
Method Details
-
getInstance
- Returns:
- The current global instance of the maste server system status checker.
-
isFormModuleRunning
public boolean isFormModuleRunning()Description copied from interface:ISystemStatusCheckerDetermines if the form module is running. The management module can only be running if thesystem is up to dateand there is a valid system license.- Specified by:
isFormModuleRunningin interfaceISystemStatusChecker- Returns:
trueif the form module is running andfalseotherwise.
-
isManagementModuleRunning
public boolean isManagementModuleRunning()Description copied from interface:ISystemStatusCheckerDetermines if the management module is running. The management module can only be running if thesystem is up to dateand there is a valid system license.- Specified by:
isManagementModuleRunningin interfaceISystemStatusChecker- Returns:
trueif the management module is running andfalseotherwise.
-
isSystemUpToDate
public boolean isSystemUpToDate()Description copied from interface:ISystemStatusCheckerDetermines if the system is up to date. An up to date system has:- A working database connection
- All liquibase changesets have been successfully executed
- All system updates have been executed successfully
- The database encryption is valid (possible database migration has been executed)
- Specified by:
isSystemUpToDatein interfaceISystemStatusChecker- Returns:
trueif the system is up to date andfalseotherwise.
-
isDatabaseRunning
public boolean isDatabaseRunning()Description copied from interface:ISystemStatusCheckerChecks whether the system database can be accessed.- Specified by:
isDatabaseRunningin interfaceISystemStatusChecker- Returns:
trueif a connection to the system database exists,falseotherwise.
-
getInstance()