public interface Exiter
Modifier and Type | Method and Description |
---|---|
void |
addExiterListener(@NotNull ExiterListener listener)
Adds an
ExiterListener to be notified. |
void |
doExit(int returnCode)
Exits the application.
|
void |
removeExiterListener(@NotNull ExiterListener listener)
Removes an
ExiterListener to be notified. |
void addExiterListener(@NotNull @NotNull ExiterListener listener)
ExiterListener
to be notified.listener
- the listenervoid removeExiterListener(@NotNull @NotNull ExiterListener listener)
ExiterListener
to be notified.listener
- the listenervoid doExit(int returnCode)
returnCode
- the application's return code