Interface UpgradeTask

All Known Implementing Classes:
Analytics.RestoreSettingsTask, ChordTypeDatabase.RestoreSettingsTask, FavoriteRhythms.RestoreSettingsTask, FileDirectoryManager.RestoreSettingsTask, JJazzMidiSystem.RestoreSettingsTask, OutputSynthManager.RestoreSettingsTask, PlaybackSettings.RestoreSettingsTask, RemoteAction.RestoreSettingsTask, StartupShutdownSongManager.RestoreSettingsTask

public interface UpgradeTask
An upgrade task.

All UpgradeTasks found in the global Lookup will be called by the UpgradeManager upon a fresh JJazzLab start, upon module installation (this means UI is not yet available).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    upgrade(String oldVersion)
    Perform an upgrade task, typically import settings from oldVersion.
  • Method Details

    • upgrade

      void upgrade(String oldVersion)
      Perform an upgrade task, typically import settings from oldVersion.

      Parameters:
      oldVersion - The reference JJazzLab version from which upgrade should be done. Can be null if no previous version was found on the system.