|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface Tracker
Set intermediate results from within a long-running task.
Calls to setters will result in an ChangeEvent and any registered TaskListener is notified. Calls to publish(Object[]) are routed back to Task.process which is executed on the UI thread. See UIThreadWorker for details.| Method Summary | |
|---|---|
void
|
publish(C... chunks)
|
void
|
setPhase(String phase)
|
void
|
setProgress(int progress)
Set the current progress. |
void
|
setProgress(int min, int max, int current)
Set the current progress. |
| Method Detail |
|---|
public void publish(C... chunks)
public void setPhase(String phase)
public void setProgress(int progress)
public void setProgress(int min, int max, int current)
Groovy Documentation