Package com.install4j.api.launcher
Interface StartupNotification.Listener
- All Superinterfaces:
EventListener
- Enclosing class:
StartupNotification
The interface for startup events in single instance mode or for open file events on macOS.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
startupPerformed
(String parameters) Will be called when the executable is started again or when a file open event is received.
-
Method Details
-
startupPerformed
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
.
-