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 FSSystemStatusChecker
INST
Deprecated.UsegetInstance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FSSystemStatusChecker
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 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: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.
-
-