Package org.jjazz.outputsynth.api
Class MidiSynthManager.CopyMidiSynthsTask
java.lang.Object
org.jjazz.outputsynth.api.MidiSynthManager.CopyMidiSynthsTask
- All Implemented Interfaces:
StartupTask
- Enclosing class:
- MidiSynthManager
Copy the default Midi files in the app config directory.
Could be an UpgradeTask since it should be executed only upon fresh start. But we use a StartupTask because a user dialog might be used.
-
Field Details
-
PRIORITY
public static final int PRIORITY- See Also:
-
ZIP_RESOURCE_PATH
- See Also:
-
-
Constructor Details
-
CopyMidiSynthsTask
public CopyMidiSynthsTask()
-
-
Method Details
-
run
public boolean run()Description copied from interface:StartupTask
This method is called upon startup when UI is ready.- 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:
-