|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.abator.ant.AntProgressCallback
public class AntProgressCallback
This callback logs progress messages with the Ant logger
Constructor Summary | |
---|---|
AntProgressCallback(Task task,
boolean verbose)
|
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 AntProgressCallback(Task task, boolean verbose)
Method Detail |
---|
public void setNumberOfSubTasks(int totalSubTasks)
ProgressCallback
setNumberOfSubTasks
in interface ProgressCallback
public void startSubTask(java.lang.String subTaskName)
ProgressCallback
startSubTask
in interface ProgressCallback
subTaskName
- a descriptive name of the current work steppublic void finished()
ProgressCallback
finished
in interface ProgressCallback
public void checkCancel() throws java.lang.InterruptedException
ProgressCallback
checkCancel
in interface ProgressCallback
java.lang.InterruptedException
- if the main task should finish
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |