Package de.xima.fc.fs
Class FSSystemStatusChecker
java.lang.Object
de.xima.fc.fs.FSSystemStatusChecker
- All Implemented Interfaces:
ISystemStatusChecker
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FSSystemStatusChecker
boolean
Checks whether the system database can be accessed.boolean
Determines if the form module is running.boolean
Determines if the management module is running.boolean
Determines if the system is up to date.
-
Field Details
-
INST
Deprecated.UsegetInstance()
-
-
Method Details
-
getInstance
- Returns:
- The current global instance of the frontend server system status checker.
-
isFormModuleRunning
public boolean isFormModuleRunning()Description copied from interface:ISystemStatusChecker
Determines if the form module is running. The management module can only be running if thesystem is up to date
and there is a valid system license.- Specified by:
isFormModuleRunning
in interfaceISystemStatusChecker
- Returns:
true
if the form module is running andfalse
otherwise.
-
isManagementModuleRunning
public boolean isManagementModuleRunning()Description copied from interface:ISystemStatusChecker
Determines if the management module is running. The management module can only be running if thesystem is up to date
and there is a valid system license.- Specified by:
isManagementModuleRunning
in interfaceISystemStatusChecker
- Returns:
true
if the management module is running andfalse
otherwise.
-
isSystemUpToDate
public boolean isSystemUpToDate()Description copied from interface:ISystemStatusChecker
Determines 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:
isSystemUpToDate
in interfaceISystemStatusChecker
- Returns:
true
if the system is up to date andfalse
otherwise.
-
isDatabaseRunning
public boolean isDatabaseRunning()Description copied from interface:ISystemStatusChecker
Checks whether the system database can be accessed.- Specified by:
isDatabaseRunning
in interfaceISystemStatusChecker
- Returns:
true
if a connection to the system database exists,false
otherwise.
-
getInstance()