Class UpgradeManager.FreshStartUpgrader
java.lang.Object
org.jjazz.upgrade.api.UpgradeManager.FreshStartUpgrader
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intShould run early in order to update the modules preferences before instances are created -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ONSTART_TASK_PRIORITY
public static final int ONSTART_TASK_PRIORITYShould 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:OnStartTaskThis method is called upon startup when UI is ready.- Specified by:
runin interfaceOnStartTask
-
getPriority
public int getPriority()Description copied from interface:OnStartTaskGet the priority of the task.When UI is ready tasks are executed one after the other by priority ascending order.
- Specified by:
getPriorityin interfaceOnStartTask- Returns:
-
getName
Description copied from interface:OnStartTaskName of the task.Used for logging.
- Specified by:
getNamein interfaceOnStartTask- Returns:
-