Package de.xima.fc.ms

Class MSSystemStatusChecker

    • 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 the system is up to date and there is a valid system license.
        Specified by:
        isFormModuleRunning in interface ISystemStatusChecker
        Returns:
        true if the form module is running and false 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 the system is up to date and there is a valid system license.
        Specified by:
        isManagementModuleRunning in interface ISystemStatusChecker
        Returns:
        true if the management module is running and false otherwise.
      • isSystemUpToDate

        public boolean isSystemUpToDate()
        Description copied from interface: ISystemStatusChecker
        Determines if the system is up to date. An up to date system has:
        1. A working database connection
        2. All liquibase changesets have been successfully executed
        3. All system updates have been executed successfully
        4. The database encryption is valid (possible database migration has been executed)
        Specified by:
        isSystemUpToDate in interface ISystemStatusChecker
        Returns:
        true if the system is up to date and false otherwise.
      • isDatabaseRunning

        public boolean isDatabaseRunning()
        Description copied from interface: ISystemStatusChecker
        Checks whether the system database can be accessed.
        Specified by:
        isDatabaseRunning in interface ISystemStatusChecker
        Returns:
        true if a connection to the system database exists, false otherwise.