Class UpgradeManager.FreshStartUpgrader

java.lang.Object
org.jjazz.upgrade.api.UpgradeManager.FreshStartUpgrader
All Implemented Interfaces:
OnStartTask
Enclosing class:
UpgradeManager

public static class UpgradeManager.FreshStartUpgrader extends Object implements OnStartTask
  • Field Details

    • ONSTART_TASK_PRIORITY

      public static final int ONSTART_TASK_PRIORITY
      Should run early in order to update the modules preferences before instances are created
      See Also:
  • Constructor Details

    • FreshStartUpgrader

      public FreshStartUpgrader()
  • Method Details

    • run

      public void run()
      Description copied from interface: OnStartTask
      This method is called upon startup when UI is ready.

      Specified by:
      run in interface OnStartTask
    • getPriority

      public int getPriority()
      Description copied from interface: OnStartTask
      Get the priority of the task.

      When UI is ready tasks are executed one after the other by priority ascending order.

      Specified by:
      getPriority in interface OnStartTask
      Returns:
    • getName

      public String getName()
      Description copied from interface: OnStartTask
      Name of the task.

      Used for logging.

      Specified by:
      getName in interface OnStartTask
      Returns: