Interface ISystemUpdate

    • Method Detail

      • getUUID

        String getUUID()
        Gets an String for identifying an update. This String should not be longer than 36 chars and should not be changed, otherwise the update may run multiple times!
        Returns:
        String UUID of the update
      • getDescription

        String getDescription​(Locale loc)
        Gets an Description of the update which should be shown in the ui. The description will also be stored in the database with an max of 1020 chars and the locale CmnConst.DFLT_LOCALE
        Parameters:
        loc - Locale the current ui locale
        Returns:
        String
      • needsToRun

        default boolean needsToRun()
        Checks if an update needs to run at all. If not, the update will be marked as run and never performed at all.
        Returns:
        Boolean if the update is needed
      • exec

        void exec()
        Executes the system update