public class DefaultTracker<C> extends Object implements Tracker<C>
| Constructor and Description |
|---|
DefaultTracker(TaskWorker<?,C> worker) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DefaultTracker(TaskWorker<?,C> worker)
public void setProgress(int progress)
Trackerprogress must be a value
from 0 to 100 (inclusive).setProgress in interface Tracker<C>public void setProgress(int min,
int max,
int current)
TrackersetProgress in interface Tracker<C>