|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ibatis.abator.internal.NullProgressCallback
public class NullProgressCallback
This class implements a progress callback that does nothing. It is used when the Abator client passes in a null for the ProgressCallback.
| Constructor Summary | |
|---|---|
NullProgressCallback()
|
|
| Method Summary | |
|---|---|
void |
checkCancel()
Abator will call this method periodically during a long running method. |
void |
finished()
Abator calls this method when all subtasks are finished |
void |
setNumberOfSubTasks(int totalSubTasks)
Called to designate the maximum number of startSubTask messages that will be sent. |
void |
startSubTask(java.lang.String subTaskName)
Called to denote the beginning of another task |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullProgressCallback()
| Method Detail |
|---|
public void finished()
ProgressCallback
finished in interface ProgressCallback
public void checkCancel()
throws java.lang.InterruptedException
ProgressCallback
checkCancel in interface ProgressCallbackjava.lang.InterruptedException - if the main task should finishpublic void setNumberOfSubTasks(int totalSubTasks)
ProgressCallback
setNumberOfSubTasks in interface ProgressCallbackpublic void startSubTask(java.lang.String subTaskName)
ProgressCallback
startSubTask in interface ProgressCallbacksubTaskName - a descriptive name of the current work step
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||