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