public class MultiProgressMonitor.Task
extends java.lang.Object
implements org.eclipse.jgit.lib.ProgressMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask(java.lang.String title,
int totalWork) |
void |
end()
Indicate that this sub-task is finished.
|
void |
endTask() |
int |
getCount() |
boolean |
isCancelled() |
void |
start(int totalTasks) |
void |
update(int completed)
Indicate that work has been completed on this sub-task.
|
public void update(int completed)
Must be called from a worker thread.
update in interface org.eclipse.jgit.lib.ProgressMonitorcompleted - number of work units completed.public void end()
Must be called from a worker thread.
public void start(int totalTasks)
start in interface org.eclipse.jgit.lib.ProgressMonitorpublic void beginTask(java.lang.String title,
int totalWork)
beginTask in interface org.eclipse.jgit.lib.ProgressMonitorpublic void endTask()
endTask in interface org.eclipse.jgit.lib.ProgressMonitorpublic boolean isCancelled()
isCancelled in interface org.eclipse.jgit.lib.ProgressMonitorpublic int getCount()