Package net.sf.gridarta.utils
Interface Exiter
-
- All Known Implementing Classes:
DefaultExiter
public interface ExiterExits the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExiterListener(@NotNull ExiterListener listener)Adds anExiterListenerto be notified.voiddoExit(int returnCode)Exits the application.voidremoveExiterListener(@NotNull ExiterListener listener)Removes anExiterListenerto be notified.
-
-
-
Method Detail
-
addExiterListener
void addExiterListener(@NotNull @NotNull ExiterListener listener)Adds anExiterListenerto be notified.- Parameters:
listener- the listener
-
removeExiterListener
void removeExiterListener(@NotNull @NotNull ExiterListener listener)Removes anExiterListenerto be notified.- Parameters:
listener- the listener
-
doExit
void doExit(int returnCode)
Exits the application.- Parameters:
returnCode- the application's return code
-
-