StartupNotification.Listener (install4j API)
Description: declaration: package: com.install4j.api.launcher, class: StartupNotification, interface: Listener

# Interface StartupNotification.Listener

All Superinterfaces:
  `EventListener`

Enclosing class:
  `StartupNotification`

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `startupPerformed(String parameters)`
  Will be called when the executable is started again or when a file open event is received.

- ## Method Details

  - ### startupPerformed

    void startupPerformed(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.