public static interface SyncService.ISyncProgressMonitor
Modifier and Type | Method and Description |
---|---|
void |
advance(int work)
Sent when some progress have been made.
|
boolean |
isCanceled()
Sent to query for possible cancellation.
|
void |
start(int totalWork)
Sent when the transfer starts
|
void |
startSubTask(java.lang.String name)
Sent when a sub task is started.
|
void |
stop()
Sent when the transfer is finished or interrupted.
|
void start(int totalWork)
totalWork
- the total amount of work.void stop()
boolean isCanceled()
void startSubTask(java.lang.String name)
name
- the name of the sub task.void advance(int work)
work
- the amount of work done.