|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SafeQuit
A simple interface between a message handler and any implementing class. This permits a message to be passed to the application asking if the current count of warnings and errors warrants an application abort, and secondly, a method politely requesting to quit the application.
| Method Summary | |
|---|---|
void |
quit(boolean confirm,
boolean force)
An indication to quit the application. |
boolean |
terminateOnError(int warnings,
int maxWarnings,
int errors,
int maxErrors)
This method is to be called if the number of warnings or errors exceeds a set limit. |
| Method Detail |
|---|
boolean terminateOnError(int warnings,
int maxWarnings,
int errors,
int maxErrors)
void quit(boolean confirm,
boolean force)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||