public interface IProgressMonitor
| Modifier and Type | Interface and Description |
|---|---|
static class |
IProgressMonitor.DoneMonitor |
static class |
IProgressMonitor.IncompleteException |
static class |
IProgressMonitor.TimeoutException |
| Modifier and Type | Field and Description |
|---|---|
static IProgressMonitor |
DONE_MONITOR |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreationTime() |
String |
getResourceUrl() |
boolean |
isDone() |
boolean |
isDone(net.sf.json.JSONObject resource) |
void |
waitForDone(int timeout)
Waits for the task to finish successfully.
|
static final IProgressMonitor DONE_MONITOR
String getResourceUrl()
boolean isDone()
throws IProgressMonitor.IncompleteException,
IOException
boolean isDone(net.sf.json.JSONObject resource)
throws IProgressMonitor.IncompleteException,
IOException
long getCreationTime()
void waitForDone(int timeout)
throws IProgressMonitor.IncompleteException,
IOException,
InterruptedException
timeout - in minutesIProgressMonitor.IncompleteException - if the task finished but is not completeIOException - if unexpected error occurredInterruptedException - if the waiting is canceledCopyright © 2016–2019. All rights reserved.