Interface StartupNotification.Listener

  • All Superinterfaces:
    java.util.EventListener
    Enclosing class:
    StartupNotification

    public static interface StartupNotification.Listener
    extends java.util.EventListener
    The interface for startup events in single instance mode or for open file events on macOS.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void startupPerformed​(java.lang.String parameters)
      Will be called when the executable is started again or when a file open event is received.
    • Method Detail

      • startupPerformed

        void startupPerformed​(java.lang.String parameters)
        Will be called when the executable is started again or when a file open event is received. Note that each invocation may be from a separate thread. If you have to serialize calls into this method, please synchronize the implementation.
        Parameters:
        parameters - the parameters of the invocation, or the file to open on macOS. For multiple files, files are surrounded by double-quotes and separated by spaces.

        Note: any default arguments defined for the launcher will not be passed again here

        .