Interface OnStartTask
- All Known Implementing Classes:
UpgradeManager.FreshStartUpgrader
public interface OnStartTask
A startup task which will be executed by StartupManager in priority ascending order when platform
is ready (see
OnStart).
If order of execution does not matter, you might directly use @OnStart instead.
NOTE: Do not directly use NotifyDialog in these tasks, use OnStartMessageNotifier instead.
-
Method Details
-
run
void run()This method is called upon startup when UI is ready. -
getPriority
int getPriority()Get the priority of the task.When UI is ready tasks are executed one after the other by priority ascending order.
- Returns:
-
getName
-