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

  • 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 interface StartupTask
      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 interface StartupTask
      Returns:
    • getName

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

      For logging.

      Specified by:
      getName in interface StartupTask
      Returns: