|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsos.koa.Task
sos.koa.RestartAdapter
Class to restart the application.
| Class Specifications |
| Specifications inherited from class Task |
| invariant 0 <= subTaskCount&&subTaskCount <= maxSubTasks; |
| Nested Class Summary |
| Nested classes inherited from class sos.koa.Task |
Task.ActionThread, Task.MonitoredThread |
| Field Summary |
| Fields inherited from class sos.koa.Task |
maxSubTasks, monitor, stillWorking, subTaskCount, success |
| Constructor Summary | |
RestartAdapter()
Constructs a new adapter. |
|
| Method Summary | |
(package private) void |
doAction()
Performs the actual work of this task. |
(package private) java.lang.String |
getFailureMessage()
What to print in failure dialog. |
(package private) java.lang.String |
getSuccessMessage()
What to print in success dialog. |
(package private) int |
getSuccessState()
The application state after successful termination of this task. |
(package private) java.lang.String |
getTitle()
Gets the title of this task. |
(package private) java.lang.String |
getWarningMessage()
What to print in warning dialog used to ask user if he/she is sure to perform this task. |
(package private) boolean |
isDangerousTask()
Indicates whether the user should be warned that we're about to start this task. |
(package private) boolean |
isPreStateAllowed(int state)
|
| Methods inherited from class sos.koa.Task |
actionPerformed, clear, getAdditionalInfo, getInfo, isAdditionalInfoAvailable, isCancelableTask, isModalTask, isProgressMonitoredTask, logCanceled, logCompleted, logFailed, logOpenedFile, logStarted, popupAdditionalInfo, popupAdditionalInfo, popupFailure, popupGetFile, popupGetPassword, popupNext, popupNextOrBack, popupSuccess, popupWarning, setMaxSubTasks, setSubTaskCount, stopAction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RestartAdapter()
| Method Detail |
java.lang.String getTitle()
java.lang.String getSuccessMessage()
java.lang.String getFailureMessage()
java.lang.String getWarningMessage()
getWarningMessage in class Taskboolean isDangerousTask()
true.
isDangerousTask in class Tasktrue.void doAction()
KOAException - if something goes wrong.boolean isPreStateAllowed(int state)
int getSuccessState()
INIT_STATE.
|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||