Package org.jjazz.songeditormanager.api
Class StartupShutdownSongManager.OpenFilesAtStartupTask
java.lang.Object
org.jjazz.songeditormanager.api.StartupShutdownSongManager.OpenFilesAtStartupTask
- All Implemented Interfaces:
StartupTask
- Enclosing class:
- StartupShutdownSongManager
public static class StartupShutdownSongManager.OpenFilesAtStartupTask
extends Object
implements StartupTask
-
Field Details
-
PRIORITY
public final int PRIORITY- See Also:
-
-
Constructor Details
-
OpenFilesAtStartupTask
public OpenFilesAtStartupTask()
-
-
Method Details
-
run
public boolean run()Open command line files and recent files.Called upon startup after UI's ready, so AFTER process() which collects optional files from the command line.
- Specified by:
run
in interfaceStartupTask
- Returns:
- True if successfully completed task.
-
getPriority
public int getPriority()Description copied from interface:StartupTask
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 interfaceStartupTask
- Returns:
-
getName
Description copied from interface:StartupTask
Name of the task.For logging.
- Specified by:
getName
in interfaceStartupTask
- Returns:
-