Class PluginToDatabaseUpdate

    • Constructor Detail

      • PluginToDatabaseUpdate

        public PluginToDatabaseUpdate()
    • Method Detail

      • getUUID

        public String getUUID()
        Description copied from interface: ISystemUpdate
        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!
        Specified by:
        getUUID in interface ISystemUpdate
        Returns:
        String UUID of the update
      • needsToRun

        public boolean needsToRun()
        Description copied from interface: ISystemUpdate
        Checks if an update needs to run at all. If not, the update will be marked as run and never performed at all.
        Specified by:
        needsToRun in interface ISystemUpdate
        Returns:
        Boolean if the update is needed
      • exec

        public void exec()
        Description copied from interface: ISystemUpdate
        Executes the system update
        Specified by:
        exec in interface ISystemUpdate