Package de.xima.fc.fs
Class FSSystemStatusChecker
- java.lang.Object
-
- de.xima.fc.fs.FSSystemStatusChecker
-
- All Implemented Interfaces:
ISystemStatusChecker
public class FSSystemStatusChecker extends Object implements ISystemStatusChecker
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static FSSystemStatusCheckerINSTDeprecated.UsegetInstance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FSSystemStatusCheckergetInstance()booleanisDatabaseRunning()Checks whether the system database can be accessed.booleanisFormModuleRunning()Determines if the form module is running.booleanisManagementModuleRunning()Determines if the management module is running.booleanisSystemUpToDate()Determines if the system is up to date.
-
-
-
Field Detail
-
INST
@Deprecated public static final FSSystemStatusChecker INST
Deprecated.UsegetInstance()
-
-
Method Detail
-
getInstance
public static FSSystemStatusChecker getInstance()
- Returns:
- The current global instance of the frontend 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.
-
-