public static class IProgressMonitor.DoneMonitor extends Object implements IProgressMonitor
IProgressMonitor.DoneMonitor, IProgressMonitor.IncompleteException, IProgressMonitor.TimeoutExceptionDONE_MONITOR| Constructor and Description |
|---|
DoneMonitor(String resourceUrl) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreationTime() |
String |
getResourceUrl() |
boolean |
isDone() |
boolean |
isDone(net.sf.json.JSONObject instance) |
void |
waitForDone(int timeout)
Waits for the task to finish successfully.
|
public DoneMonitor(String resourceUrl)
public String getResourceUrl()
getResourceUrl in interface IProgressMonitorpublic boolean isDone(net.sf.json.JSONObject instance)
throws IProgressMonitor.IncompleteException,
IOException
isDone in interface IProgressMonitorIProgressMonitor.IncompleteExceptionIOExceptionpublic boolean isDone()
throws IProgressMonitor.IncompleteException,
IOException
isDone in interface IProgressMonitorIProgressMonitor.IncompleteExceptionIOExceptionpublic long getCreationTime()
getCreationTime in interface IProgressMonitorpublic void waitForDone(int timeout)
throws IProgressMonitor.IncompleteException,
IOException
IProgressMonitorwaitForDone in interface IProgressMonitortimeout - in minutesIProgressMonitor.IncompleteException - if the task finished but is not completeIOException - if unexpected error occurredCopyright © 2016–2019. All rights reserved.